summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-06-02 10:25:34 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-06-02 10:25:34 -0700
commit1bc0758c4025961edeb0c5940eb55d7793206562 (patch)
tree8066399713ef34689b431ef71f6c469ef9fd04d1
parentd838d8310d30d85e8eab6244f90abbfd59747eca (diff)
downloadchef-lcg/chef-config-require.tar.gz
add lazy require for 'chef/config'lcg/chef-config-require
this is probably pulled in by chef/http at the top, but make it explict (lazy to break circular deps).
-rw-r--r--lib/chef/server_api.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/server_api.rb b/lib/chef/server_api.rb
index ec4a864cb3..764296f8c8 100644
--- a/lib/chef/server_api.rb
+++ b/lib/chef/server_api.rb
@@ -42,3 +42,5 @@ class Chef
use Chef::HTTP::RemoteRequestID
end
end
+
+require 'chef/config'