diff options
author | Marc Chamberland <chamberland.marc@gmail.com> | 2019-11-05 13:25:35 -0500 |
---|---|---|
committer | Marc Chamberland <chamberland.marc@gmail.com> | 2019-12-05 08:47:17 -0500 |
commit | 13c693c0669c1f65331cd244797529c514cee047 (patch) | |
tree | 0ce61e61a954ae03452d565b8e08f0f88e6c2ae6 /lib/chef/exceptions.rb | |
parent | e1a8a9d22f587e514b208d747d86a64979bad8db (diff) | |
download | chef-13c693c0669c1f65331cd244797529c514cee047.tar.gz |
some leftover/new "Chef" references converted to distro constants
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 40d20cc3ac..d1317cec69 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -475,7 +475,7 @@ class Chef class CookbookChefVersionMismatch < RuntimeError def initialize(chef_version, cookbook_name, cookbook_version, *constraints) constraint_str = constraints.map { |c| c.requirement.as_list.to_s }.join(", ") - super "Cookbook '#{cookbook_name}' version '#{cookbook_version}' depends on chef version #{constraint_str}, but the running chef version is #{chef_version}" + super "Cookbook '#{cookbook_name}' version '#{cookbook_version}' depends on #{Chef::Dist::PRODUCT} version #{constraint_str}, but the running #{Chef::Dist::PRODUCT} version is #{chef_version}" end end |