That's great! The monkeypatch seems to be what I am looking for!!! +1 to that!
-- *Braga, Bruno* www.brunobraga.net [email protected] On Tue, Aug 7, 2012 at 1:23 PM, Jeff Forcier <[email protected]> wrote: > Hi Bruno, > > On Mon, Aug 6, 2012 at 6:55 PM, BRAGA, Bruno <[email protected]> > wrote: > > Hi, > > > > I have a system in which I can only get a single SSH entry point to the > > private network, and from there, propagate application deployments across > > multiple servers... Is there a way to achieve this with Fabric? > > Others have presented some of these, but workarounds include: > > * copying the fabfile itself to the gateway system and calling 'fab' > on the gateway > * writing a run() wrapper that prefixes the command with 'ssh', e.g: > def grun(cmd): run('ssh realtarget "%s"' % cmd) > * This can get thorny due to adding another layer of quoting, but > for simple stuff may work fine > * trying out the monkeypatches posted here: > https://github.com/fabric/fabric/issues/38 > * Which should hopefully get merged soon, so keep an eye out. > > Best, > Jeff > > -- > Jeff Forcier > Unix sysadmin; Python/Ruby engineer > http://bitprophet.org >
_______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
