From: Stephen Gran Date: Sat, 28 Feb 2009 22:16:40 +0000 (+0000) Subject: We need to restart, not reload, puppet for /etc/default changes so they X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=49b1d8fc73574eb4a8f74188095600215736e46c;p=mirror%2Fdsa-puppet.git We need to restart, not reload, puppet for /etc/default changes so they get added to the command line Signed-off-by: Stephen Gran --- diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 7a05fbf96..8ced0877d 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -65,12 +65,16 @@ class debian-org { mode => 644, ensure => file, source => "puppet:///files/etc/default/puppet", - notify => Exec["puppet reload"]; + notify => Exec["puppet restart"]; } exec { "puppet reload": path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, } + exec { "puppet restart": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + } } class debian-proliant inherits debian-org {