Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created April 23, 2012 20:00
Show Gist options
  • Save jtimberman/2473436 to your computer and use it in GitHub Desktop.
Save jtimberman/2473436 to your computer and use it in GitHub Desktop.
Base role applied to all nodes with the power of Ruby.
# via Jay Feldblum on chef@lists.opscode.com:
name "base"
description "Base role applied to all nodes."
all = [
"recipe[apt]",
"recipe[build-essential]",
"recipe[git]",
"recipe[zsh]",
"recipe[users::sysadmins]",
"recipe[sudo]",
]
run_list(all)
env_run_lists(
"production" => all + ["recipe[chef-client]"],
"staging" => all,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment