]> gitweb.fluxo.info Git - puppet-puppet.git/commitdiff
Dash redirection
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Nov 2010 17:53:32 +0000 (15:53 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Nov 2010 17:53:32 +0000 (15:53 -0200)
manifests/puppetd.pp

index c878ff4b2a94847a3bad5942cae548c08d883f4b..0cd7434b7aff589d8525dd37bd02dfec77814656 100644 (file)
@@ -43,7 +43,7 @@ class puppetd inherits puppet {
 
   # cron rule to restart puppet minutes after puppetmaster is restarted
   cron { "puppet-restart":
-    command  => "/etc/init.d/puppet restart &> /dev/null",
+    command  => "/etc/init.d/puppet restart > /dev/null 2>&1",
     user     => root,
     hour     => "*/1",
     minute   => "10",
@@ -60,7 +60,7 @@ class puppetd inherits puppet {
   }
 
   cron { "puppetd-check":
-    command  => "/usr/local/sbin/check-puppetd.sh &> /dev/null",
+    command  => "/usr/local/sbin/check-puppetd.sh > /dev/null 2>&1",
     user     => root,
     hour     => "*/1",
     minute   => "0",