Created
January 15, 2015 23:54
-
-
Save cnk/4910e794c4c065fbc3f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
application 'foo' do | |
path '/srv/ads/rails/foo' | |
owner 'rails' | |
group 'rails' | |
repository '[email protected]:...' | |
revision 'master' | |
rollback_on_error false | |
# Apply the rails LWRP from application_ruby | |
rails do | |
gems ['bundler'] | |
bundler_deployment false | |
database do | |
adapter 'mysql2' | |
username 'foo' | |
password 'awesome_password' | |
host '127.0.0.1' | |
database 'foo_prod' | |
action :create | |
end | |
end | |
# Apply the passenger_apache2 LWRP, also from application_ruby | |
passenger_apache2 do | |
# Passenger-specific configuration. | |
end | |
end | |
Author
cnk
commented
Jan 15, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment