Skip to content

Instantly share code, notes, and snippets.

@jasongrimes
Created June 5, 2012 21:23
Show Gist options
  • Save jasongrimes/2878092 to your computer and use it in GitHub Desktop.
Save jasongrimes/2878092 to your computer and use it in GitHub Desktop.
Sample Chef role description for the master database in a LAMP stack.
name "db_master"
description "Master database server"
all_env = [
"role[base]",
"recipe[mysql::server]"
]
run_list(all_env)
env_run_lists(
"_default" => all_env,
"prod" => all_env,
"dev" => all_env,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment