diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-29 15:53:32 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-29 15:53:32 -0200 |
commit | 75308f8994a6afb37608269d00bc2f85cdd5fa30 (patch) | |
tree | 13e998eede26999dbce12c92c55f681cbe426237 /manifests/puppetd.pp | |
parent | 877a7d69be30ddd9fa84592d11677f878009c2ae (diff) | |
download | puppet-puppet-75308f8994a6afb37608269d00bc2f85cdd5fa30.tar.gz puppet-puppet-75308f8994a6afb37608269d00bc2f85cdd5fa30.tar.bz2 |
Dash redirection
Diffstat (limited to 'manifests/puppetd.pp')
-rw-r--r-- | manifests/puppetd.pp | 4 |
1 files changed, 2 insertions, 2 deletions
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", |