When I run the command:
fab -H localhost host_type
I receive the following error:
[localhost] Executing task 'host_type'
[localhost] run: uname -s
Fatal error: Low level socket error connecting to host localhost: Connection refused
Aborting.
Any thoughts as to why? Thanks.
Fabfile.py
from fabric.api import run
def host_type():
run('uname -s')
Configuration
- Fabric 1.0a0 (installed from the most recent Github commit---b8e1b6a)
- Paramiko 1.7.4
- PyCrypto 2.0.1
- Virtualenv ver 1.3.3
- Python 2.6.2+ (release26-maint:74924, Sep 18 2009, 16:03:18)
- Mac OS X 10.6.1