From 23b1c54cf46de587d9857299fbf508bace4dceb4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 29 Nov 2010 15:55:09 -0200 Subject: Dash redirection (2) --- manifests/puppetmasterd.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/puppetmasterd.pp b/manifests/puppetmasterd.pp index f3d242d..d574c8d 100644 --- a/manifests/puppetmasterd.pp +++ b/manifests/puppetmasterd.pp @@ -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", -- cgit v1.2.3