summaryrefslogtreecommitdiff
path: root/chef-config
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-08-15 14:09:56 -0700
committerGitHub <noreply@github.com>2016-08-15 14:09:56 -0700
commit42e19d2764526a8e3dbf1e23fbff6c0a92ec469e (patch)
tree9c6a158d552cee6a083ab31b263df79b0ff5bcff /chef-config
parent2fbd4722e1a2978327002dbfa82f7280c5eecc35 (diff)
parentd0bb671cabd8ef5d60eb2f2d1c22d9d423b5921b (diff)
downloadchef-42e19d2764526a8e3dbf1e23fbff6c0a92ec469e.tar.gz
Merge pull request #5203 from chef/lcg/rubygems_perf2
Lcg/rubygems perf2
Diffstat (limited to 'chef-config')
-rw-r--r--chef-config/lib/chef-config/config.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index a194edc80e..fce72e28ff 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -791,6 +791,11 @@ module ChefConfig
default :normal_attribute_whitelist, nil
default :override_attribute_whitelist, nil
+ # Pull down all the rubygems versions from rubygems and cache them the first time we do a gem_package or
+ # chef_gem install. This is memory-expensive and will grow without bounds, but will reduce network
+ # round trips.
+ default :rubygems_cache_enabled, false
+
config_context :windows_service do
# Set `watchdog_timeout` to the number of seconds to wait for a chef-client run
# to finish