summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e3f5ce55dc..fc16cd5d8f 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -45,6 +45,10 @@ require "chef/mixin/powershell_out"
class Chef
class Provider
+ # this breaks require loops so we don't have to require 'chef/provider' in this
+ # file. when the magic of the resource computing its provider name goes away
+ # and this file no longer references Chef::Provider then this class definition
+ # can be deleted.
end
class Resource