# 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,
# 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",