-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookbook removes scheduled task #221
Comments
Interesting. |
We ran into this when we upgraded from 17.10.3 to v17.10.95. |
We've also just hit this...it looks like it would almost be a simple fix in the upgrade Powershell script to run the Chef client, but then the https://github.com/chef-cookbooks/chef_client_updater/blob/main/providers/default.rb#L643 If the line mentioned above just ran the Chef client from the scheduled upgrade Powershell script, I believe the upgrade would work. |
Thinking that changing the Windows-specific code in https://github.com/chef-cookbooks/chef_client_updater/blob/main/providers/default.rb#L548-L552
to just the following might work:
|
Just tested the above upgrading a Cinc 18.2.7 installation to Cinc 18.4.2 and it worked, with Cinc being run from the upgrade scheduled task:
|
I'm using the cookbook v3.11.1 on Windows Server and when running it's removing the chef-client task from the chef-client cookbook.
Below is the log of the run that called the update..
Please let me know what other data I can provide.
Thank you.
The text was updated successfully, but these errors were encountered: