summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2021-04-07 15:09:19 -0700
committerLance Albertson <lance@osuosl.org>2021-04-09 15:06:10 -0700
commitdb1d60056f7ab64bf6c1cede96541309f483f58a (patch)
tree632aee76c2d90ad82b0916ec0725de1d06f02cbd /lib/chef
parentb19c83d51f98cf3ba16cf7d202b4fea1dc448ae1 (diff)
downloadchef-db1d60056f7ab64bf6c1cede96541309f483f58a.tar.gz
Update to use chef-workstation instead of chefdk
Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/package/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/rubygems.rb b/lib/chef/provider/package/rubygems.rb
index e665e210d2..bb4262a8d7 100644
--- a/lib/chef/provider/package/rubygems.rb
+++ b/lib/chef/provider/package/rubygems.rb
@@ -421,7 +421,7 @@ class Chef
end
def is_omnibus?
- if %r{/(#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}|#{ChefUtils::Dist::Infra::SHORT}|chefdk)/embedded/bin}.match?(RbConfig::CONFIG["bindir"])
+ if %r{/(#{ChefUtils::Dist::Org::LEGACY_CONF_DIR}|#{ChefUtils::Dist::Infra::SHORT}|chef-workstation)/embedded/bin}.match?(RbConfig::CONFIG["bindir"])
logger.trace("#{new_resource} detected omnibus installation in #{RbConfig::CONFIG["bindir"]}")
# Omnibus installs to a static path because of linking on unix, find it.
true