Created
April 27, 2013 20:51
-
-
Save johnbellone/5474671 to your computer and use it in GitHub Desktop.
The rack application role.
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
{ | |
// Some settings that are necessary for the Chef Solo to work | |
// as expected. If you use the Ruby DSL rather than JSON you | |
// can omit a few of these. | |
"name": "rack_application", | |
"description": "A simple role for a Rack application.", | |
"chef_type": "role", | |
"json_class": "Chef::Role", | |
// All of the recipes that we want to load into the VM. | |
"run_list": [ | |
"recipe[ruby_build]", | |
"recipe[rbenv::system]" | |
], | |
"default_attributes": { | |
"rbenv": { | |
"rubies": ["1.9.3-p392"], | |
"global": "1.9.3-p392", | |
"gems": { | |
"1.9.3-p392": [ | |
{ "name": "bundler" }, | |
{ "name": "foreman" }, | |
{ "name": "unicorn" }, | |
{ "name": "rack" } | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment