]> gitweb.fluxo.info Git - puppet-puppet.git/commitdiff
Adding missing puppet_restart
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Feb 2011 13:25:11 +0000 (10:25 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 25 Feb 2011 13:25:11 +0000 (10:25 -0300)
templates/check-puppetd.sh.erb

index 80ea3f63b78e9c300967214cd5f515893a59058e..298c2b22c353eb37357ba1386b6e64ad6210792e 100644 (file)
@@ -12,6 +12,11 @@ function puppet_start {
   $INIT start
 }
 
+function puppet_restart {
+  $INIT stop
+  puppet_start
+}
+
 if [ "$1" == "restart" ]; then
   puppet_restart
 elif [ ! -f "$PID" ]; then