Here is my scenario:
box1 and box2 are alive and are ssh-able. box2 is dead.I tried to
invoke the cap command (as shown below) but it exits after box2, since
it could not ssh to box2.
$cap invoke COMMAND="hostname" HOSTS=box1,box2,box3,box4
* executing `invoke'
* executing "hostname"
servers: ["box1", "box2", "box3"]
[box1] executing command
** [out :: box1] box1.port65535.com
command finished
connection failed for: box2 (Timeout::Error: execution expired)
The command was not run on box3 and box4 as it exits after box2.
Is there a way to invoke a command only if the box is alive (ssh-able)
or bypass the dead boxes?
Any suggestions is appreciated.
Thanks!
gorkhe
--
* 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