I ran the following command using Fabric 0.9.1:
def doit():
env.user = 'keyes'
env.hosts = ['example.com']
run('ls')
and got the following output:
No hosts found. Please specify (single) host string for connection:
I changed the command to:
def doit():
env.user = 'keyes'
env.host_string = 'example.com'
run('ls')
and the directory listing was printed to the console.
The documentation always refers to the env.hosts setting but I cannot
get that to work. Have I missed something?
Thanks,
-John
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user