[chef] Re: Chef timeout


Chronological Thread 
  • From: Nils-Helge Garli Hegvik < >
  • To:
  • Subject: [chef] Re: Chef timeout
  • Date: Thu, 26 Sep 2013 15:03:03 +0200

I'm using Vagrant with chec-solo in this setup. What is the equivalent of client.rb in this case? Can it be put somewhere in the Vagrantfile?


On Thu, Sep 26, 2013 at 2:12 PM, Tim Green < " target="_blank"> > wrote:
Not sure if this is in the documentation anywhere, but the provider will check if Chef::Config[:yum_timeout] is set, and presumably honor that timeout value if it exists in your client.rb file.  Let me know if this does it for you. 

On September 26, 2013 at 1:19:20 AM, " target="_blank"> ( " target="_blank"> ) wrote:

I'm writing a recipe that involves installing some packages with yum. One of
these packages takes a long time installing, and during the installation of
this package, Chef times out with the message "ERROR: yum -d0 -e0 -y install
<packagename> exceeded timeout 900"

I have browsed and searched the documentation, but have not found any reference
to how to increase this timeout. Can someone shed light on this?




Archive powered by MHonArc 2.6.16.

§