- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Re: Re: Re: running chef-client on cmdline won't exit
- Date: Wed, 2 Nov 2011 15:43:48 -0400
On Wed, Nov 2, 2011 at 3:13 PM,
<
>
wrote:
>
[Wed, 02 Nov 2011 19:10:43 +0000] DEBUG: Sleeping for 21600 seconds
On Wed, Nov 2, 2011 at 3:27 PM, Daniel DeLeo
<
>
wrote:
>
As long as you have the interval setting configured in your client.rb or
>
set from the command line, Chef will infer that you want it to loop. Using
>
the `--once` command line option will turn off looping even if you have an
>
interval set in your config somewhere.
Right, so normally you don't need to provide "--once" to a chef-client
one, but if you have an interval set in your /etc/chef/client.rb, the
client is picking that up and running in a loop. You probably didn't
always have an interval configured, but then decided to change it from
the default interval, so now all chef-client runs, daemonized and from
the command line, are running in loop mode.
Bryan
Archive powered by MHonArc 2.6.16.