Created
September 20, 2010 09:24
-
-
Save nileshbetter/587654 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
[root@localhost foundation3]# ey recipes upload -e staging | |
Recipes uploaded successfully for staging | |
[root@localhost foundation3]# ey recipes apply -e staging | |
Uploaded recipes started for staging | |
[root@localhost foundation3]# ey deploy -e staging | |
Connecting to the server... | |
Beginning deploy for 'foundation3' in 'staging' on server... | |
~> Deploying revision 76bb098... resque settings update | |
~> Pushing code to all servers | |
~> Starting full deploy | |
~> Copying to /data/foundation3/releases/20100920092316 | |
~> Ensuring proper ownership | |
~> Symlinking configs | |
[WARNING] 262/022321 (22524) : config : 'disable-on-404' will be ignored for proxy 'cluster' (requires 'option httpchk'). | |
[WARNING] 262/022321 (22524) : config : log format ignored for proxy 'cluster' since it has no log address. | |
[WARNING] 262/022321 (22524) : config : monitor-uri will be ignored for proxy 'clusterssl' (needs 'mode http'). | |
[WARNING] 262/022321 (22524) : config : 'option httplog' not usable with proxy 'clusterssl' (needs 'mode http'). Falling back to 'option tcplog'. | |
[WARNING] 262/022321 (22524) : config : 'disable-on-404' will be ignored for proxy 'clusterssl' (requires 'option httpchk'). | |
[WARNING] 262/022321 (22524) : config : log format ignored for proxy 'clusterssl' since it has no log address. | |
[WARNING] 262/022321 (9988) : config : 'disable-on-404' will be ignored for proxy 'cluster' (requires 'option httpchk'). | |
[WARNING] 262/022321 (9988) : config : log format ignored for proxy 'cluster' since it has no log address. | |
~> Migrating: cd /data/foundation3/releases/20100920092316 && RAILS_ENV=staging RACK_ENV=staging MERB_ENV=staging rake db:migrate | |
[WARNING] 262/022321 (9988) : config : monitor-uri will be ignored for proxy 'clusterssl' (needs 'mode http'). | |
[WARNING] 262/022321 (9988) : config : 'option httplog' not usable with proxy 'clusterssl' (needs 'mode http'). Falling back to 'option tcplog'. | |
[WARNING] 262/022321 (9988) : config : 'disable-on-404' will be ignored for proxy 'clusterssl' (requires 'option httpchk'). | |
[WARNING] 262/022321 (9988) : config : log format ignored for proxy 'clusterssl' since it has no log address. | |
~> Symlinking code | |
~> Restarting app servers | |
~> Cleaning up old releases | |
Deploy complete |
change to be:
<%= @rails_env %>: <%= @redis_hostname %>:6379
and add :rails_env here:
node[:applications].each do |app, data|
template "/data/#{app}/shared/config/resque.yml" do
owner node[:owner_name]
group node[:owner_name]
mode 0644
source "resque.yml.erb"
variables({
:redis_hostname => node[:db_host]
:rails_env => node[:environment][:framework_env]
})
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
root@localhost foundstaging]# cd cookbooks/
[root@localhost cookbooks]# git branch -a
origin/HEAD
origin/Phase0WorklingForMerge-14aug2010
origin/master
origin/phase-0
origin/phase1
[root@localhost cookbooks]#