# File lib/chef/provider/ohai.rb, line 33 def action_reload converge_by("re-run ohai and merge results into node attributes") do ohai = ::Ohai::System.new if @new_resource.plugin ohai.require_plugin @new_resource.plugin else ohai.all_plugins end node.automatic_attrs.merge! ohai.data Chef::Log.info("#{@new_resource} reloaded") end end