[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] First Steps into Fabric
From: |
Abhishek Kona |
Subject: |
[Fab-user] First Steps into Fabric |
Date: |
Fri, 26 Nov 2010 01:00:11 +0530 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 |
Hi,
I plan to use fabric EC2 deployments,
My basic hello world program looks like:
def rmaster():
set(fab_user='ubuntu',
fab_hosts=['rmaster.dc.xyz.com'],
fab_key_filename=['/Users/abhishekk/EC2keys/infra.pem'])
def hello():
run('hostname')
bash$ fab rmaster hello ##should run the hostname on the ec2 machine.
I am not able to give the ssh key as a setting for fabric.
Can anyone guide me to an example to do the same.
-Abhishek Kona
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fab-user] First Steps into Fabric,
Abhishek Kona <=