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

  • Workspace – Taskwarrior

    Taskwarrior is arguably the most powerful command-line task manager. We show you how to use this application to manage tasks like a pro.

  • 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.

  • 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.

  • 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.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News