summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2013-11-21 13:50:26 -0800
committerPhil Dibowitz <phil@ipom.com>2013-11-21 13:50:26 -0800
commitd12a4affa441922255965598ca8b37230fb60712 (patch)
treea1447b63def6a065848f895332087feaf275fe0a
parent72ec233c262b1269002ef49a2d12797aa2734c8c (diff)
downloadchef-d12a4affa441922255965598ca8b37230fb60712.tar.gz
Add formatter output for whyrun_safe_ruby_block
-rw-r--r--chef/lib/chef/provider/whyrun_safe_ruby_block.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/lib/chef/provider/whyrun_safe_ruby_block.rb b/chef/lib/chef/provider/whyrun_safe_ruby_block.rb
index 2e24cf6967..4b491a4f60 100644
--- a/chef/lib/chef/provider/whyrun_safe_ruby_block.rb
+++ b/chef/lib/chef/provider/whyrun_safe_ruby_block.rb
@@ -22,6 +22,7 @@ class Chef
def action_create
@new_resource.block.call
@new_resource.updated_by_last_action(true)
+ @run_context.events.resource_update_applied(@new_resource, :create, "execute the whyrun_safe_ruby_block #{@new_resource.name}")
Chef::Log.info("#{@new_resource} called")
end
end