diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-03 08:22:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 08:22:36 -0700 |
commit | 22eefc89c6ed7a06790697e43e0c017a52ad2f0b (patch) | |
tree | 156df5338740f57a2c4b3ff0000946ee1d9cb325 /lib/chef/provider/service | |
parent | 911f30b265e6614327ec4adf79b76f8d16a76199 (diff) | |
parent | 97d3d5897a8125078f7f7e56dba6ba51494b8899 (diff) | |
download | chef-22eefc89c6ed7a06790697e43e0c017a52ad2f0b.tar.gz |
Merge pull request #7297 from jasonwbarnett/fix-windows-startup
Fix :configure_startup action to configure delayed start
Diffstat (limited to 'lib/chef/provider/service')
-rw-r--r-- | lib/chef/provider/service/windows.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/service/windows.rb b/lib/chef/provider/service/windows.rb index 417ec03ef4..487940e84e 100644 --- a/lib/chef/provider/service/windows.rb +++ b/lib/chef/provider/service/windows.rb @@ -273,6 +273,8 @@ class Chef::Provider::Service::Windows < Chef::Provider::Service logger.trace("#{@new_resource} startup_type already #{startup_type} - nothing to do") end + converge_delayed_start + # Avoid changing enabled from true/false for now @new_resource.enabled(nil) end |