lib/ohai/config.rb in ohai-13.5.0 vs lib/ohai/config.rb in ohai-13.6.0
- old
+ new
@@ -33,9 +33,10 @@
default :hints_path, [ ChefConfig::Config.platform_specific_path("/etc/chef/ohai/hints") ]
default :log_level, :auto
default :log_location, STDERR
default :plugin, Ohai::PluginConfig.new { |h, k| h[k] = Ohai::PluginConfig.new }
default :plugin_path, [ File.expand_path(File.join(File.dirname(__FILE__), "plugins")), ChefConfig::Config.platform_specific_path("/etc/chef/ohai/plugins") ]
+ default :critical_plugins, []
end
end
# Shortcut for Ohai::Config.ohai
def self.config