Restart the service if certificates change
This commit is contained in:
parent
e56eb99146
commit
1c6f37a4ee
1 changed files with 6 additions and 3 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue