Subject: [chef] Re: Re: Re: Re: Chef 12.4.1 client for Windows 2012r2
Date: Mon, 31 Aug 2015 10:28:22 -0700
Hi Galen,
Good idea, it's something I was considering but was not sure if it's generally accepted as I've been out of chef for about 1.5 years. I'll try this method as well.
Thanks
Julian
Sent from my iPhone
On Aug 31, 2015, at 10:25 AM, Galen Emery <
">
> wrote:
(sent via wrong address, resending)
Hello,
The alternative workaround is to run Chef-client as a scheduled task which will not have the same startup dependencies as starting it as a service. The chef-client cookbook supports this method[1].
There's arguments to be made for both methods, but scheduled task is more resilient than windows_service to the startup issues, and I'd recommend it to anyone experiencing those issues.
We’ve run into this issue as well on our Windows 2012R2 hosts. In our cases, it seems that setting startup to Automatic (Delayed) does indeed fix the startup problem, but from the documentation for chef_service_manager I’m not sure how to do this automatically, or if it would require some mangling via windows_service in a recipe.
We haven’t noticed this issue on other non-2012R2 Windows hosts.