Hi I have finally found time to start implementing this but am a bit stuck atm. I am not sure how to convert this code snippet into a working task. I also need to adapt my task to work in a multistage environment where I set my role definition in each stage's config file.
Regards On Jan 28, 3:31 pm, Jamis Buck <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
