diff options
author | John Keiser <john@johnkeiser.com> | 2015-06-05 14:01:01 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-08 09:01:55 -0700 |
commit | c65de79dbd662d895c8a10ef496d7eb9c69376c2 (patch) | |
tree | c0d171b5e87bd103660369a7497972e695379d1b /lib/chef/chef_class.rb | |
parent | 01f575ce28a55dcdc7b3945c5f49ebb652a1fff3 (diff) | |
download | chef-c65de79dbd662d895c8a10ef496d7eb9c69376c2.tar.gz |
Overwrite resource_name with provides
Diffstat (limited to 'lib/chef/chef_class.rb')
-rw-r--r-- | lib/chef/chef_class.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/chef/chef_class.rb b/lib/chef/chef_class.rb index 1caeee4052..f1dd797c04 100644 --- a/lib/chef/chef_class.rb +++ b/lib/chef/chef_class.rb @@ -162,22 +162,14 @@ class Chef @resource_priority_map = nil end - # - # Removes a resource - # # @api private - def delete_resource_priority_array(name, &filter) - resource_priority_map.delete_priority_array(name, &filter) - end - - private - def provider_priority_map @provider_priority_map ||= begin # these slurp in the resource+provider world, so be exceedingly lazy about requiring them Chef::Platform::ProviderPriorityMap.instance end end + # @api private def resource_priority_map @resource_priority_map ||= begin Chef::Platform::ResourcePriorityMap.instance |