[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] How is config file merged into environment?
From: |
Jordi Funollet |
Subject: |
Re: [Fab-user] How is config file merged into environment? |
Date: |
Sat, 27 Jun 2009 11:28:36 +0200 |
User-agent: |
KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; ) |
Hi Steve,
I had this itch, too. I put a recipe on the wiki that takes hosts files, one
host by line. I tried to mimic the file format from 'dsh' so I can share the
configuration files.
http://wiki.fabfile.org/Recipes#Load_hosts_from_a_file
Usage, assuming we have a file '~/.dsh/group/prod':
fab hostsfile:prod ls
Please note that I'm using Fabric 0.0.9, maybe you need to change something.
--
##############################
### Jordi Funollet
### http://www.terraquis.net