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

index f3d242d6aee4d706812607814a6361d736c02537..d574c8d4678a5dc9c460238a01be77a01dd94ada 100644 (file)
@@ -80,7 +80,7 @@ class puppetmasterd {
 
   # cron rule to update puppet config repository every 5 minutes
   cron { "puppet-update":
-    command  => "/usr/local/sbin/update-puppet-conf.sh &> /dev/null",
+    command  => "/usr/local/sbin/update-puppet-conf.sh > /dev/null 2>&1",
     user     => puppet,
     minute   => "*/5",
     ensure   => present,
@@ -99,7 +99,7 @@ class puppetmasterd {
 
   # cron rule to restart puppetmaster before restarting the nodes
   cron { "puppetmaster-restart":
-    command  => "/etc/init.d/puppetmaster restart &> /dev/null",
+    command  => "/etc/init.d/puppetmaster restart > /dev/null 2>&1",
     user     => root,
     hour     => "*/1",
     minute   => "0",