On 2/26/2009 11:14 AM, Paul Lathrop wrote:
> On Thu, Feb 26, 2009 at 8:49 AM, Kyle Cordes <[email protected]> wrote:
>> I am sure there is a good use for some aspect of the -w 0 feature; the
>> part I don't think there is a good use for, is writing 70,000 entries
>> per minute to syslog, or for trying to connect in a tight loop for 12
>> hours.  I am sure there is a way for it to do what you need it to do,
>> without doing those other things.

> Your complaint is valid; this should not be the default behavior, and
> it *isn't* -- your beef should be with the package maintainer who
> misconfigured the tool, not with the tool itself.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509566 is probably tbe 
most relevant discussion, and matches my dim recollections. Back when I 
first started using puppet, "-w 0" caused the first run of puppetd to 
ask for a cert, and if it didn't get a response, it would exit out and 
wait for you to restart it. But any other argument to -w would cause 
puppetd to hang the boot process until its certificate got signed. Both 
were annoying, but at least "-w 0" let you log into the system to 
restart puppetd.

Sometime later, "-w 0" was no longer a special case, and caused puppetd 
to behave like you're seeing now: tight loops checking for certificates 
and writing errors into the logs. If "-w 120" doesn't cause a puppetd 
hang any more, then I'd guess that ought to be the default again. I can 
afford to burn 2 minutes on reinstalling a new system (I've got base 
preseed installations down into the 5 minute range, and can get a 
cluster node tied to the Active Directory and install all my software 
within an hour or so).

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to