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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[2015-01-15T22:38:29+00:00] INFO: link[/srv/ads/rails/empcms4/releases/ac12825ac6adc41878a14568cef692320f87d25f/vendor/bundle] created - create symlink at /srv/ads/rails/empcms4/releases/ac12825ac6adc41878a14568cef692320f87d25f/vendor/bundle to /srv/ads/rails/empcms4/shared/vendor_bundle * execute[bundle install --path=vendor/bundle --without development test cucumber staging] action run[2015-01-15T22:38:29+00:00] INFO: Processing execute[bundle install --path=vendor/bundle --without development test cucumber staging] action run (/tmp/kitchen/cookbooks/application_ruby/providers/rails.rb line 94) Fetching gem metadata from https://rubygems.org/........ Fetching additional metadata from https://rubygems.org/. . Fetching [email protected]:caltech-imss-ads/editable-image.git Fetching https://github.com/jmoline/respond_to_parent.git Installing rake 10.4.2 Installing i18n 0.7.0 Using json 1.8.1 Installing minitest 5.5.0