[chef] How to ignore some exception in a cookbook


Chronological Thread 
  • From: Anthony Kong < >
  • To:
  • Subject: [chef] How to ignore some exception in a cookbook
  • Date: Fri, 27 Feb 2015 06:35:04 +1100


In one of my receipt I need to install a gem

gem hipchat do
  action: install
end

However from time to time it fails due to network or other issue. 

I do not want it to fail the overall installation process. I would rather have the whole provision completed and then go in later and fix it manually myself.

Is there any way I can prevent its failure from stopping the convergence? 

Cheers



Archive powered by MHonArc 2.6.16.

§