Skip to content

Instantly share code, notes, and snippets.

@zadunn
Created May 31, 2012 15:40
Show Gist options
  • Save zadunn/2844238 to your computer and use it in GitHub Desktop.
Save zadunn/2844238 to your computer and use it in GitHub Desktop.
name "production"
description "The production environment"
cookbooks_versions(
"apt" => "1.4.2",
"mongodb" => "0.11.0",
"java" => "1.5.0",
"tomcat" => "0.10.4",
"sudo" => "1.1.0",
"hosts" => "0.0.1",
"users" => "0.0.1"
)
default_attributes(
"authorization" => {
"sudo" => {
"groups" => ["somegroup"],
"users" => ["me"],
"passwordless" => true
}
},
"java" => {
"install_flavor" => "oracle",
"jdk" => {
"6" => {
"x86_64" => {
"url" => "http://somedomain.com/java/jdk-6u31-linux-x64.bin"
}
}
}
},
"hosts" => {
"entires" => [
['create', 'xxx.xxx.xxx', '0.0.0.0']
]
},
"users" => {
"groups" => ["admin"]
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment