[chef] Re: Re: chef-client & exceptions


Chronological Thread 
  • From: John Merrells < >
  • To:
  • Subject: [chef] Re: Re: chef-client & exceptions
  • Date: Thu, 15 Apr 2010 09:37:31 -0700


On Apr 12, 2010, at 11:40 AM, Adam Jacob wrote:

On Mon, Apr 12, 2010 at 9:25 AM, John Merrells < "> > wrote
Does chef integrate with any exception notification services... like hoptoad?

As I'm writing new recipes I make mistakes that cause chef-client's to barf
and I only find out about it by going and looking at the log. It'd be nice if the
exception could be forwarded to me the same way that my application level
code does it.

How are you folks dealing with this issue?

It doesn't as of yet, although we have plans to support this.  If you
want hoptoad support right now, this will do it:

Ah... that catches exceptions when the chef-client dies, but actually I want to
catch the exceptions from the recipe. It looks like the chef-client catches those
and reports them. Is there an easy way to wrap all the recipes with toadhopper?

John


-- 
John Merrells
+1.415.244.5808









Archive powered by MHonArc 2.6.16.

§