Issue #1728 has been updated by Peter Meier.

Status changed from Accepted to Needs more information

imho this has been fixed with #4528
----------------------------------------
Bug #1728: Setting cron time to '*' causes it to be reset every run
https://projects.puppetlabs.com/issues/1728

Author: micah -
Status: Needs more information
Priority: Low
Assignee: 
Category: cron
Target version: unplanned
Affected Puppet version: 0.24.5
Keywords: 
Branch: 


I set the hour for one of my cron resources to be '*', and now on *every* run, 
its setting it:
<pre>
Nov  3 06:30:29 mx1 puppetd[7981]: 
(//Node[mx1]/mx/Cron[update_sanesecurity]/hour) defined 'hour' as '*'
</pre>

This is done on every puppet run. Running puppetd --test --debug --trace 
doesn't provide me with any rewarding information, only this:
<pre>
debug: //Node[mx1]/mx/Cron[update_sanesecurity]: Changing hour
debug: //Node[mx1]/mx/Cron[update_sanesecurity]: 1 change(s)
notice: //Node[mx1]/mx/Cron[update_sanesecurity]/hour: defined 'hour' as '*'
</pre>

I see that if I do not specify an entry, it will default to '*', so for some 
reason hour => '*' is not the same as not having 'hour' set at all.
If I omit the hour => '*', then puppet stops changing it every time.

These ought to be the same operations, or result in the same thing. 

This is on Debian, running 0.24.5.



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