summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marcparadise@users.noreply.github.com>2022-07-26 19:20:18 +0000
committerGitHub <noreply@github.com>2022-07-26 19:20:18 +0000
commit93793c63c140d0bf419ec9010635611289a4c81a (patch)
treee39c4841153e2570a7c1d1c300a75d2876deb59b
parentafc800c2a9caa210508bfde90e706a00f6c68e94 (diff)
parent8435ace749c3129c64cb5938da6b91c7d1d45be3 (diff)
downloadchef-93793c63c140d0bf419ec9010635611289a4c81a.tar.gz
Merge pull request #13068 from curzonj/chef-config-etc
Require etc library. Failed tests were unrelated to this change/path.
-rw-r--r--chef-config/lib/chef-config/workstation_config_loader.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/workstation_config_loader.rb b/chef-config/lib/chef-config/workstation_config_loader.rb
index ea42211120..a77670ddb2 100644
--- a/chef-config/lib/chef-config/workstation_config_loader.rb
+++ b/chef-config/lib/chef-config/workstation_config_loader.rb
@@ -17,6 +17,7 @@
#
require "chef-utils" unless defined?(ChefUtils::CANARY)
+require "etc" unless defined?(Etc)
require_relative "config"
require_relative "exceptions"
require_relative "logger"