find_servers(:roles => :foo).each do |server|
  run "disable server on load balancer", :host => server
  run "install new software", :host => server
  run "test server", :host => server
  # etc.
end

- Jamis

On 1/28/09 8:16 AM, Gerhardus Geldenhuis wrote:
> Hi
> I need to do something like the following:
> for server in role do
>   Disable server on load balancer
>   Install new software
>   Test Server
>   Enable server in load balancer
>   If successful then deploy next server else fail/rollback.
> done
> 
> The individual steps is not a problem but I am unsure how to approach
> the sequential install in a capistrano way.
> 
> I could not find anything on the wiki or list archives.
> 
> Regards
> > 


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to