diff options
author | Phil Dibowitz <phil@ipom.com> | 2014-09-09 14:10:32 -0700 |
---|---|---|
committer | Phil Dibowitz <phil@ipom.com> | 2014-09-09 21:54:08 -0700 |
commit | 15f1a6c5550b7907cb8ab667d28b22f2d711974e (patch) | |
tree | 59eac79cc2d48eb54ddcf521cd939311948b9048 /lib | |
parent | 3d933ab9fa547f58de846b4db588da47dbe11a8c (diff) | |
download | chef-15f1a6c5550b7907cb8ab667d28b22f2d711974e.tar.gz |
[master/12] Fix whyrun_safe_ruby_block regression
`whyrun_safe_ruby_block` broke in the 11 changes.
Forward port of #2021
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/whyrun_safe_ruby_block.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/whyrun_safe_ruby_block.rb b/lib/chef/provider/whyrun_safe_ruby_block.rb index 4b491a4f60..e5f35debd7 100644 --- a/lib/chef/provider/whyrun_safe_ruby_block.rb +++ b/lib/chef/provider/whyrun_safe_ruby_block.rb @@ -19,7 +19,7 @@ class Chef class Provider class WhyrunSafeRubyBlock < Chef::Provider::RubyBlock - def action_create + def action_run @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}") |