Issue #3010 has been updated by Charlie Sharpsteen.

Felix Frank wrote:
> Right. I'd be willing to make 'absent' a meaningful value for the special 
> property.

Absolutely. It is definitely a bug that we can't currently specify `special => 
absent` to return a job from something like `@reboot` to `* * * * *`.

 
> But then, I'd like to even go further and introduce a logic like the 
> following:
> 
> If any numeric schedule has a should-value, and the special property does not 
> have a should-value, imply that the special schedule should be replaced by 
> the numeric schedule.

That makes sense to me. However, there might be some discussion required to 
determine if this would be a big enough break from current behavior to warrant 
delaying it for a 4.x release.

----------------------------------------
Bug #3010: Crontab entries using "special" parameter can't be converted to 
non-special entries
https://projects.puppetlabs.com/issues/3010#change-87874

* Author: Jesse Wolfe
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: cron
* Target version: 3.x
* Affected Puppet version: 0.25.2
* Keywords: 
* Branch: 
----------------------------------------
A crontab entry created like so:
<pre>
cron{ "test":
    command => "/bin/echo > /tmp/puppet.txt",
    special => "reboot",
}
</pre>
and then changed like so:
<pre>
cron{ "test":
    command => "/bin/echo > /tmp/puppet.txt",
    minute  => 50
}
</pre>
will not change, and will show the notice:
notice: //Cron[test]/minute: defined 'minute' as '50'
on every run.


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to