Skip to content

Instantly share code, notes, and snippets.

@xrl
Created June 25, 2013 20:31
Show Gist options
  • Save xrl/5862075 to your computer and use it in GitHub Desktop.
Save xrl/5862075 to your computer and use it in GitHub Desktop.
name File.basename(__FILE__).gsub('.rb','')
attr_list = {"rx" => {
"postgresql" => {
},
"couchdb" => {
}
},
"nginx" => {
"version" => "1.4.1",
"install_method" => "package",
"init_style" => "init",
# Don't make a default listener for port 80
"default_site_enabled" => false,
"passenger" => {
"headers_exist" => true,
"version" => "4.0.2"
},
"source" => {
"modules" => ["http_ssl_module",
"http_gzip_static_module",
"http_stub_status_module",
"passenger"]
}
},
"postgresql" => {
"enable_pgdg_apt" => true,
"version" => "9.2",
"config" => { "ssl" => false }
},
"god" => {
"init_style" => "init",
"bin" => "/usr/local/bin/god",
"email" => {
"from" => "[email protected]",
"contacts" => {
"developers" => "[email protected]"
},
"server" => {
}
},
}
}
default_attributes attr_list
environment "staging-berkshelf"
run_list([
"recipe[rx]"
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment