sudo puppet --verbose --debug cron.pp debug: Creating default schedules debug: Prefetching crontab resources for cron info: Applying configuration version '1263435950' debug: //Cron[cron2]: Changing ensure debug: //Cron[cron2]: 1 change(s) notice: //Cron[cron2]/ensure: created debug: Flushing cron provider target root "-":6: bad hour errors in crontab file, can't install. debug: //Cron[cron3]: Changing ensure debug: //Cron[cron3]: 1 change(s) notice: //Cron[cron3]/ensure: created debug: Flushing cron provider target root "-":6: bad hour errors in crontab file, can't install. debug: //Cron[cron1]: Changing ensure debug: //Cron[cron1]: 1 change(s) notice: //Cron[cron1]/ensure: created debug: Flushing cron provider target root "-":6: bad hour errors in crontab file, can't install. debug: Finishing transaction 549668820 with 3 changes $ cat cron.pp cron { cron1: command => "/bin/true", user => root, hour => 2, minute => 0 } cron { cron2: command => "/bin/true", user => root, hour => [2, 4] } cron { cron3: command => "/bin/true", user => root, hour => ['2-4'], minute => '*/10' }
