Class | Chef::RunList |
In: |
lib/chef/run_list/run_list_expansion.rb
lib/chef/run_list/run_list_item.rb lib/chef/run_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
Converts a string run list entry to a RunListItem object. TODO: 5/27/2010 cw: this method has become nothing more than a proxy, revisit its necessity