[chef] Re: Re: Re: Re: Problem when starting and stoping chef-client as init service


Chronological Thread 
  • From: Albert Llop < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Problem when starting and stoping chef-client as init service
  • Date: Tue, 13 Jul 2010 17:30:14 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=PoYlWrfG8eJJBffxgUl8EunnOpsaXM19eT0zdVpa1xMzstvhhFUO6AEkjYzaFWRiou rt2Di0uuve2mDNobV/+NcgNCqdnM7aZU3PIn8ZJ6ZSyBJBTpFi6L/XIuBfhKqld9zlap G4QFTZthk9rhvBgv7kEZrU+BeMN7gIkVH6lSU=

Well then, I guess it uses the defaults? It must use /srv/chef/run or something like that, so you should modify the scripts in /etc/init.d. But I didn't know you could even have chef-client working without a config file so no idea.

Goodluck!
--
{ :name => "Albert Llop" }


On 13 July 2010 16:49, Marcus Bointon < "> > wrote:
On 13 Jul 2010, at 16:27, Jacobo García wrote:

> On Tue, Jul 13, 2010 at 1:07 PM, Albert Llop < "> > wrote:
>> Hola Jacobo!
>> Check the pidfile variable in /etc/init.d/chef-client and see if it's the
>> same than in /etc/chef/client.rb. Otherwise when starting the client it will
>> create the pidfile where specified in the /etc/chef/client.rb configuration,
>> but will try to stop it checking the pidfile specified in the init.d one.

I'm seeing the same thing, but in my vanilla install of chef 0.96 on lucid, /etc/chef/client.rb is empty.

Marcus
--
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of CRM solutions
"> | http://www.synchromedia.co.uk/






Archive powered by MHonArc 2.6.16.

§