Created
September 17, 2009 12:47
-
-
Save rsim/188472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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": { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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