Re: Printing resource before they''re checked

Luke Kanies
Wed, 14 Feb 2007 16:01:05 -0000

On Feb 14, 2007, at 4:44 AM, Tim Stoop wrote:

> Hi all,
>
> I''m having trouble with a particular recipe, but I don''t
know which
> one! I''m not getting an error message, puppetd simply hangs (does
> not respond, needs a kill -9 to stop). These same recipes work
> correctly on other nodes (no problems there). Now I wanted to find
> the exact line that causes the problem, but I seem to be unable to
> make puppetd log the resource *before* he actually starts doing
> them... Any tips on this? If I could see which part of my recipe
> puppet stays at, I could debug further...
>
> Any help is greatly appreciated!

Hmm.  I don''t believe there is currently any way to force this to
happen.  In fact, there''s not currently even any way to force any
logging, before or after, on all resources.

The debugging system needs to be completely revamped to support
multiple kinds of debugging, and this should be one of them.

  --
  If there is anything the nonconformist hates worse than a conformist,
  it''s another nonconformist who doesn''t conform to the
prevailing
  standard of nonconformity.    --Bill Vaughan
  ---------------------------------------------------------------------
  Luke Kanies | http://reductivelabs.com | http://madstop.com