Issue #3026 has been updated by Greg Boug.

Category set to cron


----------------------------------------
Bug #3026: cron provider doesn't recognise 1,2,3,4 format for numbers.
http://projects.reductivelabs.com/issues/3026

Author: Greg Boug
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: cron
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


The cron type description doesn't permit 1,2,3,4 notation for minutes, hours, 
etc... This is useful when putting in a schedule that doesn't conform to the 
*/10 style formatting. 

Basically all that is needed to fix is to add the following code (have done 
some basic tests myself) into the CronParam::insync? function in 
puppet/type/cron.rb

            # Allow 1,2,3,4
            if value =~ /^([0-9]+,?)+$/
                return value
            end



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