Not currently, no. Interesting idea, though. If someone were to write up a patch for that, I'd consider it.

- Jamis

On Jan 2, 2008, at 2:21 PM, Chris Dean wrote:



Is there a way to use different gateways for different hosts?  We have
multiple datacenters, each with their own gateway.

If I had one gateway I use:

 set :gateway, "gw.foo.com"
 role :apps, "m1.datacenter.foo.com", "m2.datacenter.foo.com"

Is there a clever way to use different gateways based upon the
destination host?  Say I had these hosts and these gateways:

 "gw-west.foo.com" => ["m1.dc-west.foo.com", "m2.dc-west.foo.com"]
 "gw-east.foo.com" => ["m3.dc-east.foo.com", "m4.dc-east.foo.com"]


Any tips appreciated!.

Cheers,
Chris Dean

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to