fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Shell Command?


From: Jorge Vargas
Subject: Re: [Fab-user] Shell Command?
Date: Mon, 25 May 2009 19:32:04 -0400

On Mon, May 25, 2009 at 7:21 PM, Jeff Forcier <address@hidden> wrote:
> It's in the TODO:
> http://github.com/bitprophet/fabric/blob/c7d4d1980e5e005731f414858a26746b1e2d3970/TODO#L83
>
> Right now, Fabric simply iterates serially over the host list
> per-command ('command' meaning fabfile task/function) so in your
> envisioned "drop me to the shell" functionality it would probably stop
> at the problem point, then if told to continue, would just keep going.
>
oh really? so there is no threaded model yet? For some reason I though
that was the default. it was in 0.1?

> So if you had hosts A, B and C, and host B is going to throw errors,
> you'd see the command run 100% on host A, run partway on host B and
> then drop you to a shell, and then when you indicated you wished to
> continue, it would either re-run the command on host B (from the top)
> or just continue to host C, depending on how we want it to behave, or
> (most likely) either one, based on some configuration setting.
>
that's really cool.

> I haven't done a lot of planning in this area but there's a lot we can
> try. I expect the shell to be a 1.1, or *possibly* 1.0 feature
> (probably a major one, i.e. in some forthcoming minor release, "an
> awesome shell" would be the primary feature that was worked on :)).
>
> Ideas and code are welcome as always.
>
well I don't know a lot of paramiko, so I really don't know I guess I
could experiment with it a little.

> Best,
> Jeff
>
> On Mon, May 25, 2009 at 7:01 PM, Jorge Vargas <address@hidden> wrote:
>> Hello,
>>
>> Are they any plans (or is it even possible) to provide a interactive
>> shell over paramiko?
>>
>> I'm interested in two use cases
>> 1- fallback to shell if the command fails
>> 2- automate half of a process, let the user poke around, and possibly
>> run another set of automatic commands.
>>
>> And example of the second will be "get me a psql command line on my
>> database server X"
>>
>> I'm not sure how this will work with multiple hosts, I guess it could
>> be turned off or simply pile them up.
>>
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/fab-user
>>
>




reply via email to

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