summaryrefslogtreecommitdiff
path: root/chef
diff options
context:
space:
mode:
authorAdam Jacob <adam@opscode.com>2011-04-04 21:42:33 -0700
committerDaniel DeLeo <dan@opscode.com>2011-04-06 14:16:02 -0700
commit6522cb7c3fd8694c9549bd70b838ec66875f7c66 (patch)
treeba6e773c9ad6408acd6a17066a1ab7c32e8d04c1 /chef
parent1c8edfa0f4f4a8d74310db61a47e717e3dfd720e (diff)
downloadchef-6522cb7c3fd8694c9549bd70b838ec66875f7c66.tar.gz
Updating ohai provider log messages
Diffstat (limited to 'chef')
-rw-r--r--chef/lib/chef/provider/ohai.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/ohai.rb b/chef/lib/chef/provider/ohai.rb
index 33d2bd12d6..a92e7a086e 100644
--- a/chef/lib/chef/provider/ohai.rb
+++ b/chef/lib/chef/provider/ohai.rb
@@ -33,8 +33,9 @@ class Chef
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