chef-boneyard / chef-client

Development repository for Chef Client cookbook

Home Page:http://supermarket.chef.io/cookbooks/chef-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chef-client scheduled task is not idempotent on windows

non7top opened this issue · comments

Cookbook version

master

Chef-client version

[Version of chef-client in your environment]

Platform Details

Windows 2016

Scenario:

  • Run chef-client::task on client
  • Disable-ScheduledTask chef-client
  • Run chef-client::task on client again

Result - task remains disabled

https://github.com/chef-cookbooks/chef-client/blob/master/recipes/task.rb
Action :enable is not specified. I guess that should be default with option to override.

Hey There
It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you.
Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.

Hi there,

this is a duplicate to: #603
I've already created a PR.

Best regards,
Patrick

Thank you!