diff options
author | Lance Albertson <lance@osuosl.org> | 2020-08-31 12:09:27 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2020-09-15 14:04:36 -0700 |
commit | 9ade086b6e0f64ae0610e3ecd2fb1d99b6d91962 (patch) | |
tree | 7490629f78f60e3f4af0950f1fc3d435fad8a0e5 /lib/chef/node_map.rb | |
parent | 00595f5e2c5069716fe42f386ea377e56bda56ce (diff) | |
download | chef-9ade086b6e0f64ae0610e3ecd2fb1d99b6d91962.tar.gz |
Workaround rubygems slow requires by only running require for chef-utils/dist
Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'lib/chef/node_map.rb')
-rw-r--r-- | lib/chef/node_map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node_map.rb b/lib/chef/node_map.rb index ae65d2fc66..c1d621a77e 100644 --- a/lib/chef/node_map.rb +++ b/lib/chef/node_map.rb @@ -36,7 +36,7 @@ # XXX: confusingly, in the *_priority_map the :klass may be an array of Strings of class names # -require "chef-utils/dist" +require "chef-utils/dist" unless defined?(ChefUtils::Dist) class Chef class NodeMap |