Issue #4172 has been updated by Justin Honold.

Affected Puppet version deleted (2.6alpha1)

...and I just ran into it again.  Ping?

----------------------------------------
Bug #4172: puppet resource cron does not accept [x,y,z...] value for hour
https://projects.puppetlabs.com/issues/4172#change-99261

* Author: Nan Liu
* Status: Accepted
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Discussed with Dan, puppet resource cron does not accept x,y value, it will 
accept x-y value.
$ puppet resource cron test user=root command=/bin/true ensure=present 
hour="2,4"
Could not run: Parameter hour failed: 2,4 is not a valid hour

$ puppet resource cron test user=root command=/bin/true ensure=present 
hour="[2,4]"
Could not run: Parameter hour failed: [2,4] is not a valid hour

$ puppet resource cron test user=daemon command=/bin/true ensure=present 
hour="2-4"    
cron { 'test':
    user => 'daemon',
    ensure => 'present',
    hour => ['2-4'],
    command => '/bin/true',
    target => 'daemon'
}


-- 
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://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to