I'm not sure why you wouldn't just use roles but fabric sets the hosts before
the functions are run so if you're trying to alter what hosts things run on at
a function level you should use @hosts decorator or more likely for what you
want the `with settings` context manager.
ie with settings(user=user, host='55.55.55.55'):
deploy()
On 22/12/2010, at 4:02 AM, [email protected] wrote:
> can't populate env.hosts and env.user
Brett
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user