On Wed, Feb 18, 2009 at 4:05 PM, Alex Robbins
<[email protected]> wrote:
> Correct, no exceptions, just the literal $(fab_host).
> I'm very new to fabric and could easily be wrong but...
> I'm reading through the source, and I don't think I see any way that abort
> could be called with fab_host defined. It would have to be called from
> inside a function that connects right? And your functions just print to
> output, they don't use the abort function. Is there a function in userspace
> that would leave fab_host defined? If not, you might not even need to check.
> Alex

If you're in deep mode, each of your user-defined tasks/commands will
end up with fab_host defined for the entirety of the function (because
in deep mode Fabric has to pre-emptively connect to the hosts, in
order to run commands end-to-end on each host). That's probably why
it's set up that way.

-Jeff


_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to