Stitching together a crazy sys admin world with Python

Quiltwork

Article from Issue 141/2012
Author(s):

The Fabric Python library makes it extremely easy to create repeatable scripts of commands over SSH to any number of servers.

Fabric [1] is an amazing Python library that makes it easy to codify common system tasks into flexible recipes. Chef and Puppet are great tools for larger, more complicated environments, but they are often a lot of work for more simple setups. Anytime I find myself executing a series of commands together on a regular basis, I switch gears and build a Fabric task instead.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • MLN

    This simple command-line tool helps you keep ahead of your virtual infrastructure.

  • Workspace: Raspberry Pi Server

    With the help of the applications we describe, Raspberry Pi can perform a wide range of server duties.

  • BOINC

    Grid computing lets little PCs work on big problems. You can use the grid system of the famous SETI@home project to build your own grid computing solutions.

  • Script Dialogs

    Starting a script on a Linux server with just a few mouse clicks sounds more complicated than it really is. If you want to create attractive and interactive dialogs for your desktop users, all you need is a small utility called SSH and a little Bash know-how.

  • Manage Tasks with nag
comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News