Re: Printing resource before they''re checked

Kenton Brede
Wed, 14 Feb 2007 13:24:07 -0000

On 2/14/07, Tim Stoop <tim.stoop@gmail.com> 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!

Are you testing puppetd with the "-v" and "--debug" options
from the
command line?  If not that might help diagnose what''s going on.

$ sudo puppetd -v -o --debug --noop

Another thing you could do is check syntax with:

$ sudo puppet --parseonly site.pp

Kent

--
"It may be true that the law cannot make a man love me, but it can stop him
 from lynching me, and I think that''s pretty important." - Martin
Luther King Jr.