diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-29 15:08:15 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-30 16:19:15 -0700 |
commit | d7cbacb33f419405538ff43b5cc5cb29c227937a (patch) | |
tree | 49973839d562935729d3130ea08840fd19372567 /lib/chef/resource/chef_gem.rb | |
parent | 1b29e8f96e1979055bf7f23751ca80a446581f0a (diff) | |
download | chef-d7cbacb33f419405538ff43b5cc5cb29c227937a.tar.gz |
Update descriptions and add default_description fields
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/chef_gem.rb')
-rw-r--r-- | lib/chef/resource/chef_gem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_gem.rb b/lib/chef/resource/chef_gem.rb index 0a1b2ef736..6758a0c753 100644 --- a/lib/chef/resource/chef_gem.rb +++ b/lib/chef/resource/chef_gem.rb @@ -36,7 +36,7 @@ class Chef class ChefGem < Chef::Resource::Package::GemPackage resource_name :chef_gem - property :gem_binary, default: "#{RbConfig::CONFIG['bindir']}/gem", + property :gem_binary, default: "#{RbConfig::CONFIG['bindir']}/gem", default_description: "Chef's built-in gem binary.", description: "The path of a gem binary to use for the installation. By default, the same version of Ruby that is used by the chef-client will be installed.", callbacks: { "The chef_gem resource is restricted to the current gem environment, use gem_package to install to other environments." => proc { |v| v == "#{RbConfig::CONFIG['bindir']}/gem" }, |