chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Chef::RunList#run_list_items

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']

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/run_list.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--RunList-run_list_items-for-pr


# Commit to git

git add lib/chef/run_list.rbgit commit -m "better docs for Chef::RunList#run_list_items"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--RunList-run_list_items-for-pr

hub pull-request


# Celebrate!