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_package.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_package.rb')
-rw-r--r-- | lib/chef/resource/windows_package.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb index 9bf3443423..b1ef2c288e 100644 --- a/lib/chef/resource/windows_package.rb +++ b/lib/chef/resource/windows_package.rb @@ -24,7 +24,8 @@ class Chef class Resource class WindowsPackage < Chef::Resource::Package - provides :package, platform: "windows" + provides :package, os: "windows" + provides :windows_package, os: "windows" def initialize(name, run_context=nil) super |