Newbie chef-client question


#1

Hi,
New to Chef, I may be missing the concept.
Can someone pls advise where do I set the client timeout interval
(i.e what is the time interval used by default that a client will pull
recipes/cookbook updates from the
Chef Server)

Many thanks in advance,
Amir


#2

Timeouts for the client are in the /etc/chef/client.rb and may be
managed with the chef-client cookbook I believe.
http://docs.getchef.com/config_rb_client.html#settings

Thanks,
Matt Ray
Director of Partner Integration :: Chef
512.731.2218 :: matt@getchef.com
mattray :: GitHub :: IRC :: Twitter

On Wed, Oct 29, 2014 at 8:50 AM, chefamirasulin@inbox.com wrote:

Hi,
New to Chef, I may be missing the concept.
Can someone pls advise where do I set the client timeout interval
(i.e what is the time interval used by default that a client will pull
recipes/cookbook updates from the
Chef Server)

Many thanks in advance,
Amir


#3

If I’m reading your question correctly, you’re asking about the interval between chef-client runs when it’s daemonized?

This is controlled by the interval setting. On the command line, it’s the -i option:

-i, --interval SECONDS Run chef-client periodically, in seconds

The default is 30 minutes, but you can adjust this according to your needs.


Daniel DeLeo

On Wednesday, October 29, 2014 at 9:00 AM, Matt Ray wrote:

Timeouts for the client are in the /etc/chef/client.rb and may be
managed with the chef-client cookbook I believe.
http://docs.getchef.com/config_rb_client.html#settings
https://github.com/opscode-cookbooks/chef-client

Thanks,
Matt Ray
Director of Partner Integration :: Chef
512.731.2218 :: matt@getchef.com (mailto:matt@getchef.com)
mattray :: GitHub :: IRC :: Twitter

On Wed, Oct 29, 2014 at 8:50 AM, <chefamirasulin@inbox.com (mailto:chefamirasulin@inbox.com)> wrote:

Hi,
New to Chef, I may be missing the concept.
Can someone pls advise where do I set the client timeout interval
(i.e what is the time interval used by default that a client will pull
recipes/cookbook updates from the
Chef Server)

Many thanks in advance,
Amir