Class | Chef::RunList::RunListExpansion |
In: |
lib/chef/run_list/run_list_expansion.rb
|
Parent: | Object |
Abstract Base class for expanding a run list. Subclasses must handle fetching roles from a data source by defining fetch_role
default_attrs | [R] | |
environment | [R] | |
errors | [R] | |
override_attrs | [R] | |
recipes | [R] | A VersionedRecipeList of recipes. Populated only after expand is called. |
run_list_items | [R] | |
source | [R] | The data source passed to the constructor. Not used in this class. In subclasses, this is a couchdb or Chef::REST object pre-configured to fetch roles from their correct location. |
Recurses over the run list items, expanding roles. After this, recipes will contain the fully expanded recipe list
Fetches and inflates a role
Chef::Role in most cases false if the role has already been applied nil if the role does not exist