Ask Your Question

How do I tell puppet to hard stop on the first failure in a Manifest?

asked 2013-10-24 12:40:38 -0600

Jarrod Roberson gravatar image

I want puppet to fail and just stop on the first failure so I can see what it is.

Right now it just continues and spews thousands of lines of failures because a previous dependency failed and I can't see what it is easily.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-24 13:24:01 -0600

spuder gravatar image

Easy answer is to increase the scroll back buffer in your OS.

If the error is happening in a logic block, you could add a fail statement.

fail("foo is not bar")
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-24 12:40:38 -0600

Seen: 2,128 times

Last updated: Oct 24 '13