diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-26 11:12:14 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-26 11:12:14 -0800 |
commit | 275bd06032f27bdcbe0f5acff544508d211d83ed (patch) | |
tree | 8a936431ee70ee0b3d8b97d9629e4fc802ef4c7d | |
parent | 1b1174955c032cdbe54fa58089a17b9699324012 (diff) | |
download | chef-275bd06032f27bdcbe0f5acff544508d211d83ed.tar.gz |
add comment to explain hackeryjk/require-statically
-rw-r--r-- | lib/chef/resource.rb | 4 |
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 |