Bug #4172
puppet resource cron does not accept [x,y,z...] value for hour
| Status: | Accepted | Start date: | 07/07/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 2.6alpha1 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
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'
}
History
Updated by Markus Roberts over 1 year ago
- Target version set to 2.6.0
Updated by Markus Roberts over 1 year ago
- Target version changed from 2.6.0 to 52
Updated by James Turnbull over 1 year ago
- Status changed from Unreviewed to Accepted
Updated by James Turnbull 11 months ago
- Target version deleted (
52)