diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-10-28 11:59:54 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-10-28 18:37:31 -0700 |
commit | 8cefc070070c23dc1824beb2bd8551dc88014635 (patch) | |
tree | 69d81bf64fc19a3b44676a3607c055d904ba83af /lib/chef/resource/windows_service.rb | |
parent | 40ae6e04dceb5ee1020fe42390e2dae627cc02b4 (diff) | |
download | chef-8cefc070070c23dc1824beb2bd8551dc88014635.tar.gz |
Make sure windows_service and windows_package resources are found with the new dynamic provider resolver.
Diffstat (limited to 'lib/chef/resource/windows_service.rb')
-rw-r--r-- | lib/chef/resource/windows_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_service.rb b/lib/chef/resource/windows_service.rb index 49495117ee..2aec4d6304 100644 --- a/lib/chef/resource/windows_service.rb +++ b/lib/chef/resource/windows_service.rb @@ -25,7 +25,8 @@ class Chef # Until #1773 is resolved, you need to manually specify the windows_service resource # to use action :configure_startup and attribute startup_type - provides :service, platform: "windows" + provides :service, os: "windows" + provides :windows_service, os: "windows" identity_attr :service_name |