diff options
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index f5cde4bfb3..a4f15c271f 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -272,7 +272,8 @@ class Chef end def run_ohai - ohai.all_plugins + filter = Chef::Config[:minimal_ohai] ? %w[fqdn machinename hostname platform platform_version os os_version] : nil + ohai.all_plugins(filter) @events.ohai_completed(node) end |