Restart the service if certificates change

This commit is contained in:
Erik Dalén 2014-12-18 17:04:56 +01:00
parent e56eb99146
commit 1c6f37a4ee

View file

@ -169,19 +169,22 @@ class puppetdb::server (
content => $ssl_key,
owner => $puppetdb_user,
group => $puppetdb_group,
mode => '0600';
mode => '0600',
notify => Service[$puppetdb_service];
$ssl_cert_path:
ensure => file,
content => $ssl_cert,
owner => $puppetdb_user,
group => $puppetdb_group,
mode => '0600';
mode => '0600',
notify => Service[$puppetdb_service];
$ssl_ca_cert_path:
ensure => file,
content => $ssl_ca_cert,
owner => $puppetdb_user,
group => $puppetdb_group,
mode => '0600';
mode => '0600',
notify => Service[$puppetdb_service];
}
}