[chef] Simultaneous chef run handling on linux/windows


Chronological Thread 
  • From: Brian Anderson < >
  • To:
  • Subject: [chef] Simultaneous chef run handling on linux/windows
  • Date: Fri, 16 Aug 2013 14:32:25 -0400

Here I am, back with more windows questions...

We have just started to run chef in daemon mode. Previously we had only been running it on demand.

Our deployment scripts trigger chef runs, and can be fired off at any time.

On Linux, if the chef-client daemon is running, you get a warning message:
[2013-08-16T14:28:27-04:00] WARN: Chef client  is running, will wait for it to finish and then run.

And things go along happily from there.

On Windows, you get:
[2013-08-16T14:23:44-04:00] FATAL: Errno::EACCES: Permission denied - C:/chef/cache/chef-client-running.pid

Is there a setting in client.rb / something I can do to prevent these errors on Windows? 




Brian
--
Brian Anderson | Operations Engineer
Phone 781.696.1304
 


www.affectiva.com

     



Archive powered by MHonArc 2.6.16.

§