Skip to content

Instantly share code, notes, and snippets.

@rosenfeld
Created February 28, 2011 12:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosenfeld/847256 to your computer and use it in GitHub Desktop.
Save rosenfeld/847256 to your computer and use it in GitHub Desktop.
Chef configuration files for Gitorious
file_cache_path "/root/chef-solo"
cookbook_path "/root/chef-solo/cookbooks"
json_attribs "/root/chef-solo/node.json"
{
"passenger": { "version": "3.0.14" },
"gitorious": {
"host": "gitorious.local",
"git": {
"url": "git://gitorious.org/gitorious/mainline.git",
"reference": "v2.2.1"
},
"db": {
"user": "gitorious",
"host": "localhost",
"database": "gitorious",
"password": "gitorious"
},
"hide_http_clone_urls": "false",
"locale": "en",
"support_email": "username@provider.com",
"notification_emails": "username@provider.com",
"public_mode": "false",
"only_admins_create": "false",
"admin": {
"email": "username@provider.com",
"password": "admin"
}
},
"smtp": {
"address": "smtp.not-gmail-provider.com",
"port": "25",
"username": "username@provider.com",
"password": "password",
"default_sender": "username@provider.com"
},
"run_list": [ "recipe[vim]", "recipe[custom_environment]", "recipe[ntpdate]", "recipe[smtp]", "recipe[gitorious]" ]
}
{
"mysql": { "server_debian_password": "password", "server_root_password": "password", "server_repl_password": "password", "bind_address": "localhost" },
"rvm": { "default_ruby": "ree-1.8.7-2011.03", "rvmrc": { "rvm_trust_rvmrcs_flag": 1 } },
"activemq": { "memory": "50M" },
"gitorious": {
"git": {
"url": "git://gitorious.org/~rosenfeld/gitorious/rosenfeld-gitorious.git",
"reference": "bundler"
},
"db": {
"user": "gitorious",
"host": "localhost",
"database": "gitorious",
"password": "gitorious"
},
"hide_http_clone_urls": "false",
"locale": "pt-BR",
"web_server": "nginx",
"support_email": "username@gmail.com",
"notification_emails": "username@gmail.com",
"public_mode": "false",
"only_admins_create": "false",
"admin": {
"email": "username@gmail.com",
"password": "admin"
},
"mailer": { "delivery_method": "smtp" },
"smtp": {
"tls": "true",
"address": "smtp.gmail.com",
"port": "587",
"domain": "",
"authentication": "plain",
"username": "username@gmail.com",
"password": "password"
}
},
"run_list": [ "recipe[vim]", "recipe[custom_environment]", "recipe[gitorious]" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment