From 75308f8994a6afb37608269d00bc2f85cdd5fa30 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 29 Nov 2010 15:53:32 -0200 Subject: Dash redirection --- manifests/puppetd.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/puppetd.pp') diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp index c878ff4..0cd7434 100644 --- a/manifests/puppetd.pp +++ b/manifests/puppetd.pp @@ -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", -- cgit v1.2.3