From: Stephen Gran Date: Tue, 24 Feb 2009 16:59:56 +0000 (+0000) Subject: And reload puppet when it's config changes - maybe all the puppet config X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=141df578c7347e9c1b7108bd084d134308ca2695;p=dsa-puppet.git And reload puppet when it's config changes - maybe all the puppet config stuff should go out into a seperate module, but we'll get there. Signed-off-by: Stephen Gran --- diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 0b3c6cb2..f01882c2 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -57,6 +57,11 @@ class debian-org { group => root, mode => 644, ensure => file, - source => "puppet:///files/etc/puppet/puppet.conf"; + source => "puppet:///files/etc/puppet/puppet.conf", + notify => Exec["exim4 reload"]; + } + exec { "puppet reload": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, } }