fab-user
[Top][All Lists]
Advanced

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

RE: [Fab-user] try/except not working as expected.


From: Jeff Honey
Subject: RE: [Fab-user] try/except not working as expected.
Date: Fri, 22 Oct 2010 13:52:34 -0400

Yeah...i replied directly last time instead of to the group.

I look at reboot() in the 0.9.2 code and see that it waits for a specified 
interval before printing "done" and then exit? Am I reading this right?

For some reason, when I call fab, it can't find reboot() for some reason. I'll 
have to figure out how to interrogate what ver is it trying to run. Right now, 
I've just been running 'shutdown -r now' against the remote host and then 
sleeping. Seems like the same thing but different. ;-)
--
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ kyoboku kazeoshi ¤
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
________________________________________
From: address@hidden address@hidden On Behalf Of Jeff Forcier address@hidden
Sent: Friday, October 22, 2010 11:46
To: Jeff Honey
Cc: Fabric Mailing List
Subject: Re: [Fab-user] try/except not working as expected.

(Looks like we went off-list at some point, roping it back in...)

Right, I just meant to look at the source code and try to use that as
a guide for whatever you're doing on your own :)

    http://github.com/bitprophet/fabric/blob/0.9/fabric/operations.py#L620

However, reboot() should've been included in fabric.api as long as
you're on Fabric 0.9.2.

-Jeff


reply via email to

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