Issue #4411 has been updated by Justin Honold.

FWIW, I found this bug in this way:

- Read "Managed nodes can be configured to not check in automatically every 30 
minutes, but rather to check in only when requested." at 
http://docs.puppetlabs.com/guides/scaling.html
- Looked at the output of 'puppet --genconfig|less', where nothing jumped off 
the screen to me as being this configuration directive.
- "runinterval=0" seemed intuitive to me, so I Googled it and got this page as 
the first hit.

The answer is apparently "—listen with —no-client" per Mr. Bode's comments, but 
I would appreciate it if the scaling page would offer a more clear pointer to 
HOW request-only check ins can be configured (as opposed to only stating that 
they can be).
----------------------------------------
Bug #4411: runinterval=0 does not behave as expected
https://projects.puppetlabs.com/issues/4411

Author: Oliver Hookins
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: Statler
Affected Puppet version: 0.25.4
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 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