Issue #3112 has been updated by Markus Roberts. Status changed from Unreviewed to Duplicate Target version set to 0.25.4
Although the ticket history has gotten a little tangled, this is a duplicate (marked as #2845 but really it duplicates the problem _caused_ by the first attempt to fix #2845). Fixed in 0.25.4, release candidates of which are available for testing (hint hint). ---------------------------------------- Bug #3112: Problem with adding and removing crons http://projects.reductivelabs.com/issues/3112 Author: Mark Mealman Status: Duplicate Priority: Normal Assigned to: Category: Target version: 0.25.4 Affected version: 0.25.3 Keywords: Branch: Here's the cron in question: cron { upgrade_puppet: command => "/root/upgrade_puppet.sh", user => root, hour => 9, minute => 10, ensure => present } Here's the error produced by puppet: debug: //base_ec2/Cron[upgrade_puppet]: Changing ensure debug: //base_ec2/Cron[upgrade_puppet]: 1 change(s) notice: //base_ec2/Cron[upgrade_puppet]/ensure: created debug: Flushing cron provider target root "-":5: bad hour errors in crontab file, can't install. I was using cron bash scripts to upgrade puppet across 70 servers from 0.25.1 to 0.25.3. 0.25.1 can install, modify and remove the cron fine, but 0.25.3 throws this error. Here's the full crontab: # HEADER: This file was autogenerated at Mon Jan 25 16:31:33 -0500 2010 by puppet. # HEADER: While it can still be managed manually, it is definitely not recommended. # HEADER: Note particularly that the comments starting with 'Puppet Name' should # HEADER: not be deleted, as doing so could cause duplicate cron jobs. # Puppet Name: backup_app 45 3 * * * /usr/local/bin/backup_app.pl I can manually edit the crontab fine via 'crontab -e' -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
