Issue #4411 has been updated by Nigel Kersten.

Project changed from Puppet Documentation to Puppet
Status changed from Closed to Accepted

My apologies, this was mistakenly closed as part of trying to bring some sanity 
to the puppet-docs bug project.

Moving to the puppet project, as this isn't just a documentation bug, and we'll 
document the new behavior when it's resolved.



----------------------------------------
Bug #4411: runinterval=0 does not behave as expected
https://projects.puppetlabs.com/issues/4411#change-88143

* Author: Oliver Hookins
* Status: Accepted
* Priority: Normal
* Assignee: eric sorenson
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Arguably "most" applications that can be configured to run periodically take a 
period of "0" to mean "don't run periodically". In Puppet's case, the value of 
runinterval is passed directly to the agent timer loop.

Evidently, EventLoop::Timer is happy to fire off an event after 0 seconds have 
passed and thus runinterval=0 signifies "run constantly" which is not the 
expected nor desired behaviour (would *anyone* want this behaviour???).

So I propose that a value of 0 should be taken to mean "disable the timed run 
loop".


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