summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-24 14:38:49 -0800
committerTim Smith <tsmith@chef.io>2017-01-26 17:04:01 -0800
commitb2cd43a3ce50530c1bfa042c41968557e47d5dce (patch)
treeb04243352b81a2c367ecb07101856e1c8639e71b
parent3e27195210c8ee77114c4b6c39f56be1d91f42a4 (diff)
downloadohai-require_config.tar.gz
Config is used in system so require it there.require_config
COOL team found this when using ohai/system directly. It worked in 8.X, but not post deprecation of the old config logic. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/system.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/system.rb b/lib/ohai/system.rb
index b06b6391..12f78c70 100644
--- a/lib/ohai/system.rb
+++ b/lib/ohai/system.rb
@@ -28,6 +28,7 @@ require "ohai/mixin/constant_helper"
require "ohai/provides_map"
require "ohai/hints"
require "mixlib/shellout"
+require "ohai/config"
module Ohai
class System