I just picked up Cap and started playing with it today. Kudos to you Jamis on something that might allow me to do some wicked stuff at work.
Being new to this perhaps someone will have a way or better way to do what I'm about to ask. I understand that each task will run parallel on all the servers for each role. I would like to also have something similar to multiple run commands that run in parallel on each of those servers. I'm guessing that since each server task is an open ssh and its obviously only able to do one thing at a time on that connection I have to flip this problem on its side and look at it that way. Basically my scenario is this (basic firewall test): I would like to connect to multiple servers via ssh (looking good so far) and on each of those servers run telnet commands to a list of server:port (which is unique to the server I ssh'd into). Ex: ssh foo.bar - telnet baz.com 12345 - telnet bar.com 12345 - telnet bing.com 14321 ssh goo.nar - telnet baz.us 12345 - telnet bar.us 12345 - telnet bing.us 143321 etc... I'm then capturing the output to see which were sucessful or letting cap tell me which die because of a failed telnet. I don't want to do the telnets serially because if one fails to make a connection it will wait for a few minutes until the timeout hits before trying the next one. I'm guessing i can load the info from a yaml file or something but I can't quite make the connection on how to process multiple things on each server and have that all processing on multiple servers in parallel. Any thoughts? thx, ken --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
