Sorry -- as I kinda feared, I forgot to add it to fabric.api (just
fixed, but that won't come out till 0.9.3). You can easily import it
directly by doing "from fabric.operations import reboot".

On Fri, Oct 22, 2010 at 1:52 PM, Jeff Honey <je...@pona.net> wrote:
> 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: bitprop...@gmail.com [bitprop...@gmail.com] On Behalf Of Jeff Forcier 
> [j...@bitprophet.org]
> 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
> _______________________________________________
> Fab-user mailing list
> Fab-user@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby developer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to