From a9fd2fa4fd9ab37f5b8e9fd302d52aa17ec03f34 Mon Sep 17 00:00:00 2001 From: Sebastian Marcet Date: Mon, 21 Mar 2016 20:53:00 -0300 Subject: [PATCH] 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 --- manifests/init.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index aad7d40..a752062 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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], } }