Method: Chef.get_resource_priority_array
- Defined in:
- lib/chef/chef_class.rb
.get_resource_priority_array(resource_name) ⇒ Array<Class>
Get the array of resources associated with a resource_name for the current node
84 85 86 87 88 |
# File 'lib/chef/chef_class.rb', line 84 def get_resource_priority_array(resource_name) result = resource_priority_map.get_priority_array(node, resource_name.to_sym) result = result.dup if result result end |