Issue #2293 has been updated by James Turnbull.

Target version changed from unplanned to 0.25.0

>From memory this code was accepted.
----------------------------------------
Bug #2293: cron syntax X-Y/Z and '7' for sunday
http://projects.reductivelabs.com/issues/2293

Author: Calimero Calimero
Status: Accepted
Priority: Normal
Assigned to: Calimero Calimero
Category: cron
Target version: 0.25.0
Complexity: Trivial
Affected version: 0.24.8
Keywords: cron range sunday weekday


Hi,

We're moving to puppet and we have to migrate a few hundreds of cronjobs.

We've stumbled upon two small issues in puppet 0.24.8 which is a bit too strict 
regarding what parameters the Cron resource accepts.

1/ Syntax 'X-Y/Z' is not accepted, only '*/Z' but we have jobs with '1-59/2' 
and the like

2/ Sunday is expected to be numbered 0 although vixie-cron (shipped with CenOS) 
supports both 0 and 7.

So we wrote the attached patch. But I would understand puppet being picky for 
cross-platform compatibility reasons.

Hope it helps. :-)



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to