diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-01 14:10:31 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-01 14:10:31 -0700 |
commit | 6b81a66da2d7bb8b46c1866e666ef09084bc4059 (patch) | |
tree | 153e9baae30b71e123614c19983d23772e991a4c | |
parent | 4acaf1161cc2cbae4bd2a77d0e0e52594a972fae (diff) | |
download | chef-6b81a66da2d7bb8b46c1866e666ef09084bc4059.tar.gz |
Use the brand name not the CLI name in more places
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/chef_gem.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/gem_package.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/chef_gem.rb b/lib/chef/resource/chef_gem.rb index 292fcbd55e..664144619c 100644 --- a/lib/chef/resource/chef_gem.rb +++ b/lib/chef/resource/chef_gem.rb @@ -50,7 +50,7 @@ class Chef description: "The version of a package to be installed or upgraded." property :gem_binary, default: "#{RbConfig::CONFIG["bindir"]}/gem", default_description: "The `gem` binary included with #{Chef::Dist::PRODUCT}.", - 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::Dist::CLIENT} will be installed.", + description: "The path of a gem binary to use for the installation. By default, the same version of Ruby that is used by #{Chef::Dist::PRODUCT} 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" }, } diff --git a/lib/chef/resource/gem_package.rb b/lib/chef/resource/gem_package.rb index 9c021dea1b..def92bd34d 100644 --- a/lib/chef/resource/gem_package.rb +++ b/lib/chef/resource/gem_package.rb @@ -53,7 +53,7 @@ class Chef default: lazy { Chef::Config[:clear_gem_sources] }, desired_state: false property :gem_binary, String, desired_state: false, - 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::Dist::CLIENT} will be installed." + description: "The path of a gem binary to use for the installation. By default, the same version of Ruby that is used by #{Chef::Dist::PRODUCT} will be installed." property :include_default_source, [ TrueClass, FalseClass, nil ], description: "Set to `false` to not include `Chef::Config[:rubygems_url]` in the sources.", |