Skip to content

Instantly share code, notes, and snippets.

@rsim
Created September 17, 2009 12:47
Show Gist options
  • Save rsim/188472 to your computer and use it in GitHub Desktop.
Save rsim/188472 to your computer and use it in GitHub Desktop.
{
"name": "app-dbatasks",
"default_attributes": {
"apache": {
"listen_ports": [
]
},
"rails": {
"active_applications": {
"dbatasks": [
{
"http_port": 8001,
"env": "development"
},
{
"env": "production"
}
]
},
"applications": {
"dbatasks": {
"database_adapter": "mysql",
"packages": [
"sphinx"
],
"gems": [
"freelancing-god-thinking-sphinx",
"javan-whenever",
"mysql"
],
"rails_version": "2.3.2"
}
}
}
},
"json_class": "Chef::Role",
"recipes": [
"mysql::server",
"rails_apps"
],
"description": "dbatasks Ruby on Rails applications",
"chef_type": "role",
"override_attributes": {
}
}
name "app-dbatasks"
description "dbatasks Ruby on Rails applications"
recipes "mysql::server", "rails_apps"
default_attributes :rails => {
:active_applications => {
:dbatasks => [{:env => "development", :http_port => 8001}, {:env => "production"}]
},
:applications => {
:dbatasks => {
:rails_version => '2.3.2',
:gems => ['freelancing-god-thinking-sphinx', 'javan-whenever', 'mysql'],
:packages => ['sphinx'],
:database_adapter => 'mysql'
}
}
}, :apache => { :listen_ports => [] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment