diff options
author | Thom May <thom@chef.io> | 2018-02-14 12:22:41 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-03-19 21:36:23 +0000 |
commit | 94222a8a0a1cda16d35c8f08c731a3f902449391 (patch) | |
tree | 712169a375dbf411ebfa4f205727840db279d404 /spec/support/platform_helpers.rb | |
parent | 7e11a4192df63ecc0166a947109878cc0070434a (diff) | |
download | chef-tm/inject_log.tar.gz |
Add the ability to inject log objectstm/inject_log
meaning that we can have inheritable metadata
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/support/platform_helpers.rb')
-rw-r--r-- | spec/support/platform_helpers.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index 1718632186..8569523e05 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -246,6 +246,9 @@ end class HttpHelper extend Ohai::Mixin::HttpHelper + def self.logger + Chef::Log + end end def gce? |