lib/chef/provider/ohai.rb in chef-0.10.0.beta.6 vs lib/chef/provider/ohai.rb in chef-0.10.0.beta.7
- old
+ new
@@ -31,11 +31,12 @@
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")
+ @new_resource.updated_by_last_action(true)
end
end
end
end