A fabric file to set up a herd of servers in a panic, with added seasoning.
Use this fabfile to play with rackspace, or bring up a load of servers with salt-stack services, quicksharp.
- Check out the repo somewhere.
virtualenv salt-beef
(ormkvirtualenv
etc.)pip install -r requirements.txt
- Manually export the env settings from postactivate.example (or edit it and
place it in
$VIRTUAL_ENV/bin/postactivate
- Make a settings.py file from the example, filling in the settings as appropriate.
- Run
fab connect:user=YOUR_USER make_saltmaster
(for example) - Run
fab -l
for more info!
"Treat your servers like cattle, not like pets." -- Spend your devops time relaxing in a field, herding cattle, enjoying the rolling hills and the mildly tempestuous weather.
There's no really good reason for naming all the commands after cow-related activities, but then, since when was naming ever sane in technology?
Thanks to @pikesley for the inspiration.