diff options
author | John Keiser <john@johnkeiser.com> | 2015-05-28 11:17:10 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-01 08:02:05 -0700 |
commit | 5998cc7315507e649bb76f139c07715f6e590707 (patch) | |
tree | da543eeb9183ba63cfea376c51207b31ed104f65 /lib/chef/resource/yum_package.rb | |
parent | 16dbca593b2fef74d952c5e119313efbe2288670 (diff) | |
download | chef-5998cc7315507e649bb76f139c07715f6e590707.tar.gz |
Make resource_name call provides
Diffstat (limited to 'lib/chef/resource/yum_package.rb')
-rw-r--r-- | lib/chef/resource/yum_package.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_package.rb b/lib/chef/resource/yum_package.rb index cdf3cc456d..ebafeeb25d 100644 --- a/lib/chef/resource/yum_package.rb +++ b/lib/chef/resource/yum_package.rb @@ -23,7 +23,7 @@ class Chef class Resource class YumPackage < Chef::Resource::Package - provides :yum_package + resource_name :yum_package provides :package, os: "linux", platform_family: [ "rhel", "fedora" ] def initialize(name, run_context=nil) |