diff options
author | Ranjib Dey <ranjib@pagerduty.com> | 2015-06-23 23:13:12 -0700 |
---|---|---|
committer | Ranjib Dey <ranjib@pagerduty.com> | 2015-06-24 10:12:45 -0700 |
commit | 720f3331f794a2ad31bee2b1113ac99fada85389 (patch) | |
tree | 4f03dfd86d9fb543cb2eaf1b6a4c3848d356b11f /lib/chef/chef_class.rb | |
parent | 9f0ea8aa0ec05819e242dedaa85fe731dca3146c (diff) | |
parent | ab34e3cd83d545b5da19113d723eeebcab1e77e2 (diff) | |
download | chef-720f3331f794a2ad31bee2b1113ac99fada85389.tar.gz |
Merge remote-tracking branch 'origin/master' into chef_handler
Diffstat (limited to 'lib/chef/chef_class.rb')
-rw-r--r-- | lib/chef/chef_class.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/chef_class.rb b/lib/chef/chef_class.rb index d9c141b85d..c017fb157c 100644 --- a/lib/chef/chef_class.rb +++ b/lib/chef/chef_class.rb @@ -65,7 +65,7 @@ class Chef # @return [Array<Class>] Priority Array of Provider Classes to use for the resource_name on the node # def get_provider_priority_array(resource_name) - result = provider_priority_map.get_priority_array(node, resource_name) + result = provider_priority_map.get_priority_array(node, resource_name.to_sym) result = result.dup if result result end @@ -78,7 +78,7 @@ class Chef # @return [Array<Class>] Priority Array of Resource Classes to use for the resource_name on the node # def get_resource_priority_array(resource_name) - result = resource_priority_map.get_priority_array(node, resource_name) + result = resource_priority_map.get_priority_array(node, resource_name.to_sym) result = result.dup if result result end @@ -93,7 +93,7 @@ class Chef # @return [Array<Class>] Modified Priority Array of Provider Classes to use for the resource_name on the node # def set_provider_priority_array(resource_name, priority_array, *filter, &block) - result = provider_priority_map.set_priority_array(resource_name, priority_array, *filter, &block) + result = provider_priority_map.set_priority_array(resource_name.to_sym, priority_array, *filter, &block) result = result.dup if result result end @@ -108,7 +108,7 @@ class Chef # @return [Array<Class>] Modified Priority Array of Resource Classes to use for the resource_name on the node # def set_resource_priority_array(resource_name, priority_array, *filter, &block) - result = resource_priority_map.set_priority_array(resource_name, priority_array, *filter, &block) + result = resource_priority_map.set_priority_array(resource_name.to_sym, priority_array, *filter, &block) result = result.dup if result result end |