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