diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-22 20:49:00 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-26 12:15:54 -0800 |
commit | 990bc3421daee113b737e574bf7e931de6b36450 (patch) | |
tree | 47a48100c7770be951668d7aed289b67760a7a19 /lib/chef/resource/portage_package.rb | |
parent | 67c23662d211e6d95ccb6cd81890352a13b7228a (diff) | |
download | chef-990bc3421daee113b737e574bf7e931de6b36450.tar.gz |
Modernize provides in the portage_package resource
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/portage_package.rb')
-rw-r--r-- | lib/chef/resource/portage_package.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/resource/portage_package.rb b/lib/chef/resource/portage_package.rb index a12039b555..10a6e1b4d8 100644 --- a/lib/chef/resource/portage_package.rb +++ b/lib/chef/resource/portage_package.rb @@ -22,13 +22,9 @@ class Chef class Resource class PortagePackage < Chef::Resource::Package resource_name :portage_package - description "Use the portage_package resource to manage packages for the Gentoo platform." - - def initialize(name, run_context = nil) - super - @provider = Chef::Provider::Package::Portage - end + provides :portage_package + description "Use the portage_package resource to manage packages for the Gentoo platform." end end end |