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, fab-user-requ...@nongnu.org wrote:

> can't populate env.hosts and env.user 

Brett





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

Reply via email to