From 49b1d8fc73574eb4a8f74188095600215736e46c Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 28 Feb 2009 22:16:40 +0000 Subject: [PATCH] We need to restart, not reload, puppet for /etc/default changes so they get added to the command line Signed-off-by: Stephen Gran --- modules/debian-org/manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 7a05fbf9..8ced0877 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 { -- 2.39.2