Skip to content

Instantly share code, notes, and snippets.

@ffaerber
Created March 28, 2011 16:46
Show Gist options
  • Save ffaerber/890808 to your computer and use it in GitHub Desktop.
Save ffaerber/890808 to your computer and use it in GitHub Desktop.
test data-bag file for private repo on github
{
"id": "my_app",
"server_roles": [
"my_app"
],
"type": {
"my_app": [
"rails",
"unicorn"
]
},
"memcached_role": [
"my_app_memcached"
],
"database_slave_role": [
""
],
"database_master_role": [
"my_app_database_master"
],
"repository": "[email protected]:ffaerber/privat-repo.git",
"revision": {
"production": ""
},
"force": {
"production": false
},
"migrate": {
"production": true
},
"databases": {
"production": {
"reconnect": "true",
"encoding": "utf8",
"username": "db_user",
"adapter": "mysql",
"password": "awesome_password",
"database": "db_name_production"
}
},
"mysql_root_password": {
"production": "super_s3cur3_r00t_pw"
},
"mysql_debian_password": {
"production": "super_s3cur3_d3b1@n_pw"
},
"mysql_repl_password": {
"production": "super_s3cur3_r3pl_pw"
},
"snapshots_to_keep": {
"production": ""
},
"deploy_key": "-----BEGIN RSA PRIVATE KEY-----\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=\n-----END RSA PRIVATE KEY-----\n",
"deploy_to": "/srv/my_app",
"owner": "nobody",
"group": "nogroup",
"packages": {
"curl": "",
"libxml2-dev": "",
"libxslt1-dev": "",
"libsqlite3-dev": "",
"libmysql-ruby" : "",
"libmysqlclient-dev" : ""
},
"gems": {
"rails": "3.0.3",
"mysql2": "",
"sqlite3-ruby": "",
"right_aws" : "",
"bundler" : ""
},
"memcached": {
"production": {
"namespace": "my_app_environment"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment