Hey thanks a ton but the link say repice doesn't exists, it seems the link is broken can u plz send over the new link, thanks a ton for this.
Sent from my iPhone On Nov 21, 2011, at 7:05 PM, [email protected] wrote: > Repice4developers.wordpress.com > > Jay > > On Nov 21, 2011, at 6:25 PM, newguy <[email protected]> wrote: > >> Any help/suggestions guys !! >> >> >> On Nov 21, 8:55 am, newguy <[email protected]> wrote: >>> Hi guys, >>> >>> I am trying to use EC2 tools to get all the machines with a particular >>> tag in some type of array in /config/deploy/prod.rb file in >>> Capistrano. Something like this: >>> >>> In prod.rb file: >>> >>> //untested command >>> workers-array[]=$(ec2-describe-instances -F vpc-id=1234 -F >>> tag:Env=prod -F tag:SystemType=worker) >>> >>> for(i=0;i<workers-array.len;i++){ >>> role :worker-A, workers-array[i] >>> } >>> >>> I am not sure how we can do this in capistrano, am new to ruby too. >>> Guys any help on this would be really appreciated. >>> >>> Thanks >> >> -- >> * 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 > > -- > * 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 -- * 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
