[Top][All Lists]

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

Re: [Fab-user] Shell Command?

From: Jeff Forcier
Subject: Re: [Fab-user] Shell Command?
Date: Mon, 25 May 2009 19:21:23 -0400

It's in the TODO:

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.

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.

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.


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]