Class | Chef::RunList |
In: |
lib/chef/run_list.rb
lib/chef/run_list/run_list_item.rb lib/chef/run_list/run_list_expansion.rb lib/chef/run_list/versioned_recipe_list.rb |
Parent: | Object |
run_list_items | -> | run_list |
For backwards compat |
run_list_items | [R] |
@run_list_items is an array of RunListItems that describe the items to
execute in order. RunListItems can load from and convert to the string
forms users set on roles and nodes. For
example:
@run_list_items = ['recipe[foo::bar]', 'role[webserver]'] Thus, self.role_names would return ['webserver'] self.recipe_names would return ['foo::bar'] |
Add an item of the form "recipe[foo::bar]" or "role[webserver]"; takes a String or a RunListItem
Expands this run_list: recursively expand roles into their included recipes. Returns a RunListExpansion object.