Hi!
I have a cron entry like this:
cron { "cron-ntpdate":
command => "/usr/bin/ntpdate ntp.belbone.be",
minute => 00,
ensure => present,
user => "root"
}
In my crontab -e , i already have this:
# Line below polls for Avast! update - running avastvpsupdate.pl or avastvpsupdate.sh periodically does the job.
# Libavastengine installer: testing of avastvpsupdate.pl failed - if You want to use this script, fix the problem and enable the line below.
# 0 0,6,12,18 * * * /usr/bin/avastvpsupdate.pl
0 0,6,12,18 * * * /usr/bin/avastvpsupdate.sh
When running puppetd, this error is given:
notice: Cron[cron-ntpdate]/ensure: created
"-":7: bad day-of-week
errors in crontab file, can't install.
Commenting the " 0 0,6,12,18 * * * /usr/bin/avastvpsupdate.sh" line in my crontab -e, and rerunning puppetd adds the ntpdate cron just fine.