diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-11-15 22:42:04 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-11-15 22:42:04 -0800 |
commit | 9924aedacbfb427fcb245c297c33ba51bdbceb8d (patch) | |
tree | 7a250fb39bb8f1dbb41b8658fff553b4ba5cbad3 /lib/chef/provider.rb | |
parent | 20681f07c993db9add0939513dbc6598bb6c2efd (diff) | |
download | chef-9924aedacbfb427fcb245c297c33ba51bdbceb8d.tar.gz |
Unit fixes and :all_actions support for DRR fixeslcg/define-resource-requirements-fix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index 296a22222c..80c58c09ee 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -269,7 +269,7 @@ class Chef end def requirements - @requirements ||= ResourceRequirements.new(@new_resource, run_context, action) + @requirements ||= ResourceRequirements.new(@new_resource, run_context, action || new_resource.action) end def description(description = "NOT_PASSED") |