Wow...nice "undocumented" feature!  ;-)

I will still need to validate the system is available before moving to the next 
host, though.


--
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ kyoboku kazeoshi ¤
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
________________________________________
From: bitprop...@gmail.com [bitprop...@gmail.com] On Behalf Of Jeff Forcier 
[j...@bitprophet.org]
Sent: Tuesday, October 19, 2010 11:01
To: Jeff Honey
Cc: fab-user@nongnu.org
Subject: Re: [Fab-user] simple test loop.

There's actually a built-in reboot function in Fabric which does the
right things regarding the connection objects,
fabric.operations.reboot (it's part of fabric.api, as usual). You
might want to look into using that.

If you need to tweak how it works or just use it for a reference,
here's the code:

    http://github.com/bitprophet/fabric/blob/0.9/fabric/operations.py#L620
_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to