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/resource/execute.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/resource/execute.rb')
-rw-r--r-- | lib/chef/resource/execute.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index f8baedd082..f7313cae40 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -18,11 +18,12 @@ # require "chef/resource" -require "chef/provider/execute" class Chef class Resource class Execute < Chef::Resource + resource_name :execute + provides :execute identity_attr :command |