Added apache2 service notification on ssl cert change

Added notification to service apache2 when some of the ssl
cert files changes, to be able to reload them.

Change-Id: Iab89ce159d7874587fd006c765f042a41a20505f
This commit is contained in:
Sebastian Marcet 2016-03-21 20:53:00 -03:00
parent e7239d4746
commit a9fd2fa4fd
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_cert_file_contents,
notify => Service['apache2'],
before => Httpd::Vhost[$vhost_name],
}
}
@ -227,6 +228,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_key_file_contents,
notify => Service['apache2'],
before => Httpd::Vhost[$vhost_name],
}
}
@ -237,6 +239,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_chain_file_contents,
notify => Service['apache2'],
before => Httpd::Vhost[$vhost_name],
}
}