summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-22 14:54:06 -0800
committerTim Smith <tsmith@chef.io>2018-11-22 19:52:36 -0800
commitfbd9fafa2436fab673078c957cd912eae4185763 (patch)
tree6174385f05d5b2a9f5a184bb8c9c1839c8039a5b /lib/chef/client.rb
parentcfad5b36e65d34145638d3f1b17c848eb90a0215 (diff)
downloadchef-init_package_plugin.tar.gz
minimal_ohai: Add init_package plugin as a required plugininit_package_plugin
This is a pretty critical bit of data and we're using it for decisions in the timezone resource now. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 770cdea32c..e668aeee00 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -604,7 +604,7 @@ class Chef
# @api private
#
def run_ohai
- filter = Chef::Config[:minimal_ohai] ? %w{fqdn machinename hostname platform platform_version ohai_time os os_version} : nil
+ filter = Chef::Config[:minimal_ohai] ? %w{fqdn machinename hostname platform platform_version ohai_time os os_version init_package} : nil
ohai.all_plugins(filter)
events.ohai_completed(node)
rescue Ohai::Exceptions::CriticalPluginFailure => e