diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-29 15:55:09 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-29 15:55:09 -0200 |
commit | 23b1c54cf46de587d9857299fbf508bace4dceb4 (patch) | |
tree | 304af0f89f0f567c1ed734243a33bcaf366af9c8 | |
parent | 75308f8994a6afb37608269d00bc2f85cdd5fa30 (diff) | |
download | puppet-puppet-23b1c54cf46de587d9857299fbf508bace4dceb4.tar.gz puppet-puppet-23b1c54cf46de587d9857299fbf508bace4dceb4.tar.bz2 |
Dash redirection (2)
-rw-r--r-- | manifests/puppetmasterd.pp | 4 |
1 files changed, 2 insertions, 2 deletions
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", |