]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/apache2/manifests/init.pp
reload apache2 on sso RP hosts after sso files changed
[dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 3a6050ab7e1a295ecb0484c2ba73c7875651e9a2..8be585bfa2b5b2f7fa8fd2d9cc11b591a645a707 100644 (file)
@@ -143,4 +143,11 @@ class apache2 {
                description     => 'Allow web access',
                rule            => '&SERVICE(tcp, (http https))'
        }
+
+       exec { 'service apache2 reload':
+               path        => '/usr/bin:/usr/sbin:/bin:/sbin',
+               command     => 'service apache2 reload',
+               refreshonly => true,
+               require =>  Package['apache2'],
+       }
 }