On Saturday, September 8, 2012 at 7:40 AM, Kevin Yank wrote:
On 08/09/2012, at 1:36 AM, Daniel DeLeo < "> > wrote:Is it possible you're running two chef-client instances at once, perhaps one out of init/cron/upstart/runit/etc. and one in the foreground of the bootstrap? The run_list doesn't get saved until the end of the bootstrap run, so a second chef-client will see an empty run_list and then purge the cache of "unneeded" files.Thanks so much, Daniel! Something like that may well be going on!I have chef-solo installing chef-client, which gets launched as a daemon; however, the attributes I’m supplying for chef-client’s configuration aren’t being properly applied (a mystery I still need to look into), so I’m then patching /etc/chef/client.rb and running chef-client once to make sure it runs correctly before relaunching the daemon with ‘service chef-client restart’.So yes, I’d say I have a race condition between the misconfigured chef-client daemon run and the config-patched ‘test run’. I should be able to fix that by killing the daemon before launching the test run.--Kevin Yank
Archive powered by MHonArc 2.6.16.