Method: Chef.set_resource_priority_array
- Defined in:
- lib/chef/chef_class.rb
.set_resource_priority_array(resource_name, priority_array, **filter, &block) ⇒ Array<Class>
Get the array of resources associated with a resource_name for the current node
114 115 116 117 118 |
# File 'lib/chef/chef_class.rb', line 114 def set_resource_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 |