Method: Chef.set_provider_priority_array
- Defined in:
- lib/chef/chef_class.rb
.set_provider_priority_array(resource_name, priority_array, **filter, &block) ⇒ Array<Class>
Set the array of providers associated with a resource_name for the current node
99 100 101 102 103 |
# File 'lib/chef/chef_class.rb', line 99 def set_provider_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 |