You're correct. This assumes that you're using the multistage extension (see http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage for a n example). Than once your server are set up you simply say run x on server a, than run y on server b.
I'm still looking to see if there's a way to make these 2 commands into one. -Tim We can only see a short distance ahead, but we can see plenty there that needs to be done. --Alan Turing, 1950 On Tue, Mar 23, 2010 at 3:25 PM, E.J. Hassick <[email protected]> wrote: > Yes I see the function, I'm just confused with how I make capistrano > understand I need to execute X command on remote server 1 and then Y command > on remote server 2. Do I need a multistage setup in order to do this? This > is all for deploying to one server, but involves two of them. I think I'm > missing some simple point here. > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/capistrano?hl=en > > To unsubscribe from this group, send email to > capistrano+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en To unsubscribe from this group, send email to capistrano+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
