We need to restart, not reload, puppet for /etc/default changes so they
authorStephen Gran <steve@lobefin.net>
Sat, 28 Feb 2009 22:16:40 +0000 (22:16 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 28 Feb 2009 22:16:40 +0000 (22:16 +0000)
get added to the command line
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/manifests/init.pp

index 7a05fbf..8ced087 100644 (file)
@@ -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 {