summaryrefslogtreecommitdiff
path: root/lib/chef/resource/chocolatey_package.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-06 19:55:22 -0800
committerTim Smith <tsmith@chef.io>2018-03-07 11:19:20 -0800
commitbbd87e035bb966e1b4134b809db6bb0c850272a6 (patch)
tree7329c00c3209ea1ab380d5120548b632831f8aa3 /lib/chef/resource/chocolatey_package.rb
parentd63980c156c042d2badcfc83b9dbe00c8e5cdccb (diff)
downloadchef-bbd87e035bb966e1b4134b809db6bb0c850272a6.tar.gz
Remove platfom restrictions in provides and don't require providers
Don't require providers in the resources since we map these automatically. Also remove or simplify the platform restrictions in the provides lines in the resources. We're not really getting anything from these the way we wire up resources. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/chocolatey_package.rb')
-rw-r--r--lib/chef/resource/chocolatey_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chocolatey_package.rb b/lib/chef/resource/chocolatey_package.rb
index dbd72b9dc7..cf8e67d708 100644
--- a/lib/chef/resource/chocolatey_package.rb
+++ b/lib/chef/resource/chocolatey_package.rb
@@ -22,7 +22,7 @@ class Chef
class Resource
class ChocolateyPackage < Chef::Resource::Package
resource_name :chocolatey_package
- provides :chocolatey_package, os: "windows"
+ provides :chocolatey_package
description "Use the chocolatey_package resource to manage packages using Chocolatey"\
" on the Microsoft Windows platform."