From 930c30d7e60f474908e27fd12429353ee7c226fa Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Tue, 21 Jul 2009 09:43:45 +0100 Subject: [PATCH] I have a cunning plan Signed-off-by: Stephen Gran --- modules/debian-org/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 33672575a..37c98fb0a 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -54,7 +54,7 @@ class debian-org { notify => Exec["puppet reload"]; "/etc/default/puppet": source => "puppet:///files/etc/default/puppet", - notify => Exec["puppet restart"]; + require => Exec["puppet stop"]; "/etc/syslog-ng/syslog-ng.conf": source => "puppet:///files/etc/syslog-ng/syslog-ng.conf", @@ -95,7 +95,7 @@ class debian-org { path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, } - exec { "puppet restart": + exec { "puppet stop": path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, } -- 2.20.1