summaryrefslogtreecommitdiff
path: root/lib/chef/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r--lib/chef/resource.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index e92ea28c69..5099446335 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -687,6 +687,10 @@ F
raise ArgumentError, "nil is not a valid action for resource #{self}" if action.nil?
end
+ def evaluate_providers(providers)
+ provider = providers.first
+ end
+
def provider_for_action(action)
# leverage new platform => short_name => resource
# which requires explicitly setting provider in