diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-16 11:07:39 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-16 13:46:50 -0700 |
commit | bc91f3f4db2a61acfea1bcd4c56a997545aa3264 (patch) | |
tree | 3038e695bd8cde07f57935e081cd7d83de0be9ca /lib/chef/resource | |
parent | c0cb0506eda1679418911842f6250e2f54f8871f (diff) | |
download | chef-bc91f3f4db2a61acfea1bcd4c56a997545aa3264.tar.gz |
Add a description field to yum_package
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/yum_package.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/resource/yum_package.rb b/lib/chef/resource/yum_package.rb index f066e3f0ad..905cacc477 100644 --- a/lib/chef/resource/yum_package.rb +++ b/lib/chef/resource/yum_package.rb @@ -24,6 +24,12 @@ class Chef resource_name :yum_package provides :package, platform_family: %w{rhel fedora amazon} + description "Use the yum_package resource to install, upgrade, and remove packages with Yum"\ + " for the Red Hat and CentOS platforms. The yum_package resource is able to resolve"\ + " provides data for packages much like Yum can do when it is run from the command line."\ + " This allows a variety of options for installing packages, like minimum versions,"\ + " virtual provides, and library names." + # XXX: the coercions here are due to the provider promiscuously updating the properties on the # new_resource which causes immutable modification exceptions when passed an immutable node array. # |