fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Executing script on localhost without ssh


From: Taras Mankovski
Subject: Re: [Fab-user] Executing script on localhost without ssh
Date: Mon, 7 Sep 2009 14:36:12 -0400

Hey Matthew,

> Why don't you want to ssh to localhost?  It works fine for me.
I tried it, but it didn't work very well for me. I could try it again.
I think conceptually it would make sense to make Paramiko optional,
and when run or sudo command is executed, it would be helpful if
fabric would distinguish remote server from local machine.

What do you think?

Taras

On Mon, Sep 7, 2009 at 8:53 AM, Matthew Wilson<address@hidden> wrote:
> On Mon, Sep 7, 2009 at 12:56 AM, Taras Mankovski<address@hidden> wrote:
>> Hello There,
>>
>> I created a fabfile that setups a remote server for hosting my project.
>> I wrote it in such a way that I can execute the script on both the
>> production server and the dev server and it should work.
>>
>> I was wandering, is it possible to configure my fabfile in such a way
>> that when i configure dev, it does not go through ssh?
>
> I'm just speculating here, but if you don't open up a terminal with
> ssh, you might be able to use something like python's subprocess
> module.  I don't think that is built into fab though.
>
> Why don't you want to ssh to localhost?  It works fine for me.
>
> --
> W. Matthew Wilson
> address@hidden
> http://tplus1.com
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]