summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_package.rb
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-10-28 11:59:54 -0700
committerSerdar Sutay <serdar@opscode.com>2014-10-28 18:37:31 -0700
commit8cefc070070c23dc1824beb2bd8551dc88014635 (patch)
tree69d81bf64fc19a3b44676a3607c055d904ba83af /lib/chef/resource/windows_package.rb
parent40ae6e04dceb5ee1020fe42390e2dae627cc02b4 (diff)
downloadchef-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.rb3
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