diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-06 19:55:22 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-07 11:19:20 -0800 |
commit | bbd87e035bb966e1b4134b809db6bb0c850272a6 (patch) | |
tree | 7329c00c3209ea1ab380d5120548b632831f8aa3 /lib/chef/provider/package/chocolatey.rb | |
parent | d63980c156c042d2badcfc83b9dbe00c8e5cdccb (diff) | |
download | chef-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/provider/package/chocolatey.rb')
-rw-r--r-- | lib/chef/provider/package/chocolatey.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/chocolatey.rb b/lib/chef/provider/package/chocolatey.rb index 2932654962..a6abdd5b46 100644 --- a/lib/chef/provider/package/chocolatey.rb +++ b/lib/chef/provider/package/chocolatey.rb @@ -25,7 +25,7 @@ class Chef class Chocolatey < Chef::Provider::Package include Chef::Mixin::PowershellOut - provides :chocolatey_package, os: "windows" + provides :chocolatey_package # Declare that our arguments should be arrays use_multipackage_api |