From 9924aedacbfb427fcb245c297c33ba51bdbceb8d Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 15 Nov 2021 22:42:04 -0800 Subject: Unit fixes and :all_actions support for DRR fixes Signed-off-by: Lamont Granquist --- lib/chef/provider.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/provider.rb') 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") -- cgit v1.2.1