Your command usage is wrong. When you execute "fab -H localhost f1" your are telling fabric to run the task named "f1" from the default fabfile.py (which you didn't specify) on the host "localhost". Aparently "f1" is the name of your fabfile not your task so, as the fatal error just told you, you can specify the fabfile path with the -f option. The correct usage would be like this:
De: "Rodrick Brown" <address@hidden>
Para: address@hidden
Enviadas: Quarta-feira, 11 de Abril de 2012 16:41:48
Assunto: [Fab-user] unable to execute scripts after upgrade
# cat f1
from fabric.api import run
def host_type():
run('uname -s')
# fab -H localhost f1
Fatal error: Couldn't find any fabfiles!
Remember that -f can be used to specify fabfile path, and use -h for help.
Aborting.
Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:
http://knight.com/KnightEmailDisclaimer.html
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user