patchwork

by fabric

fabric / patchwork

Common deployment/sysadmin operations, built on Fabric

206 Stars 44 Forks Last release: Not found BSD 2-Clause "Simplified" License 132 Commits 4 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Patchwork is a mid-level library of Unix system administration primitives such as "install package" or "create user account", interrogative functionality for introspecting system state, and other commonly useful functions built on top of the

Fabric 
_ library.

Specifically:

  • Primary API calls strive to be idempotent: they may be called multiple times in a row without unwanted changes piling up or causing errors.
  • Patchwork is just an API: it has no concept of "recipes", "manifests", "classes", "roles" or other high level organizational units. This is left up to the user or wrapping libraries.

    • This is one way Patchwork differs from larger configuration management frameworks like
      Chef 
      _ or
      Puppet
      
      _. Patchwork is closest in nature to those tools' "resources."
  • It is implemented in shell calls, typically sent over SSH from a local workstation.

    • However, where possible, its functions expect a baseline Invoke
      ~invoke.context.Context
      object and can thus run locally or remotely, depending on the specific context supplied by the caller.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.