diff options
author | Tim Smith <tsmith@chef.io> | 2017-01-24 14:38:49 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-01-26 17:04:01 -0800 |
commit | b2cd43a3ce50530c1bfa042c41968557e47d5dce (patch) | |
tree | b04243352b81a2c367ecb07101856e1c8639e71b | |
parent | 3e27195210c8ee77114c4b6c39f56be1d91f42a4 (diff) | |
download | ohai-b2cd43a3ce50530c1bfa042c41968557e47d5dce.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.rb | 1 |
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 |