Issue #4172 has been updated by James Turnbull.

Target version deleted (queued)


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

Author: Nan Liu
Status: Accepted
Priority: Low
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6alpha1
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 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