Created
September 7, 2009 20:15
-
-
Save danielsdeleo/182544 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
| ~/ruby/chef/chef$ cat /etc/chef/solo.json | |
| { | |
| "radiant": { | |
| "migrate": true, | |
| "migrate_command": "rake db:migrate", | |
| "revision": "HEAD", | |
| "action": "rollback", | |
| "environment": "production" | |
| }, | |
| "recipes": ["radiant"] | |
| } | |
| ####################################################################### | |
| ~/ruby/chef/chef$ sudo chef-solo -j /etc/chef/solo.json | |
| [Mon, 07 Sep 2009 06:05:56 -0600] INFO: Starting Chef Solo Run | |
| [Mon, 07 Sep 2009 06:05:57 -0600] INFO: Setting RAILS_ENV, RACK_ENV, and MERB_ENV to `production' | |
| [Mon, 07 Sep 2009 06:05:57 -0600] WARN: [DEPRECATED] please modify your deploy recipe or attributes to set the environment using a hash | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: rolling back to previous release: /srv/radiant/releases/20090907115535 | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: Symlinking | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: Purging checked out copies of /log /tmp/pids and /public/system from current release | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: Linking shared /log /tmp/pids and /public/system into current release | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: Linking shared db config: /srv/radiant/shared/config/database.yml to release db config: /srv/radiant/releases/20090907115535/config/database.yml | |
| [Mon, 07 Sep 2009 06:06:00 -0600] INFO: ensuring proper ownership | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: Linking release /srv/radiant/releases/20090907115535 into production at /srv/radiant/current | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: ensuring proper ownership | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: removing last release: /srv/radiant/releases/20090907120341 | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: restarting with previous release | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: Restarting app with touch tmp/restart.txt in /srv/radiant/current | |
| [Mon, 07 Sep 2009 06:06:01 -0600] INFO: Chef Run complete in 5.869913 seconds | |
| ################################################# | |
| ~/ruby/chef/chef$ ls -ahlp /srv/radiant/current | |
| lrwxrwxrwx 1 railsdev root 36 2009-09-07 06:06 /srv/radiant/current -> /srv/radiant/releases/20090907115535/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment