[chef] Re: Re: Re: exceptions in resources


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: exceptions in resources
  • Date: Wed, 15 Oct 2014 16:01:52 +0100



On Tuesday, October 14, 2014 at 8:31 PM, John de la Garza wrote:

> On Tue, Oct 14, 2014 at 2:42 PM, Noah Kantrowitz 
> <
>  
> (mailto: )>
>  wrote:
> > Can you back up and explain what you are trying to do?
> > 
> > --Noah
> 
> I have a recipe that does a http_request to post to a REST api. If
> that api is down I don't want
> the entire run to fail, I just want a log entry and for the run continue.

Look at `ignore_failure` here: http://docs.getchef.com/resource_common.html

-- 
Daniel DeLeo






Archive powered by MHonArc 2.6.16.

§