diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-16 15:57:28 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-16 15:57:28 -0700 |
commit | bbb5f140854380c0c4e23a7f0e1994c0a2c07d39 (patch) | |
tree | 59f9b5f59857bdef8e149f347f667900b98b7197 | |
parent | c38ba0de1d72df79476254d0ae7b91db98d490fd (diff) | |
download | chef-bbb5f140854380c0c4e23a7f0e1994c0a2c07d39.tar.gz |
Add back the missing require on Ohai
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/ohai.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb index df106406ce..e5314829a7 100644 --- a/lib/chef/resource/ohai.rb +++ b/lib/chef/resource/ohai.rb @@ -20,6 +20,7 @@ require_relative "../resource" require_relative "../dist" +require "ohai" unless defined?(Ohai::System) class Chef class Resource |