[chef] chef_request


Chronological Thread 
  • From: John de la Garza < >
  • To:
  • Subject: [chef] chef_request
  • Date: Tue, 14 Oct 2014 13:50:20 -0400

I am trying to figure out which exceptions to rescue when using chef_request 
and
also how to set the timeout.

from reading some of the chef code I had the idea that these would be good:

SocketError, Errno::ETIMEDOUT, Errno::ECONNREFUSED



also...  How can I set the timeout (open_timeout) from the recipe?  this would
make testing a known bad url much quicker...

thanks


  • [chef] chef_request, John de la Garza, 10/14/2014

Archive powered by MHonArc 2.6.16.

§