Method: Chef.get_provider_priority_array
- Defined in:
- lib/chef/chef_class.rb
.get_provider_priority_array(resource_name) ⇒ Array<Class>
Get the array of providers associated with a resource_name for the current node
71 72 73 74 75 |
# File 'lib/chef/chef_class.rb', line 71 def get_provider_priority_array(resource_name) result = provider_priority_map.get_priority_array(node, resource_name.to_sym) result = result.dup if result result end |