X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=8be585bfa2b5b2f7fa8fd2d9cc11b591a645a707;hb=184619433f4bd137cef8fc1454516258dd6541b2;hp=3a6050ab7e1a295ecb0484c2ba73c7875651e9a2;hpb=91fe7c1b56bd8ff96c3a94b1d5b9e58b4959ad46;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index 3a6050ab7..8be585bfa 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -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'], + } }