The propellor package

[ Tags: bsd2, library, program, utility ] [ Propose Tags ]

Propellor enures that the system it's run in satisfies a list of properties, taking action as necessary when a property is not yet met.

While Propellor can be installed from hackage, to customize and use it you should fork its git repository and modify it from there: git clone git:/git.kitenet.netpropellor


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.5.1, 0.5.3, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.9.0, 0.9.1, 0.9.2, 1.0.0, 1.2.0, 1.2.1, 1.3.2, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.8.0, 2.8.1, 2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 2.15.0, 2.15.1, 2.15.2, 2.15.3, 2.15.4, 2.16.0, 2.17.0, 2.17.1, 2.17.2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.3.0, 3.3.1, 3.4.0, 3.4.1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.6, 4.1.0, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.4.0, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.1, 4.6.2, 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4, 4.7.5, 4.7.6, 4.7.7, 4.8.0, 4.8.1, 4.9.0, 5.0.0, 5.1.0
Dependencies ansi-terminal, base (>=4.5 && <5), bytestring, containers, directory, filepath, hslogger, IfElse, MissingH, process, unix, unix-compat [details]
License GPL
Copyright 2014 Joey Hess
Author Joey Hess
Maintainer Joey Hess <joey@kitenet.net>
Category Utility
Home page http://joeyh.name/code/propellor/
Source repository head: git clone git://git.kitenet.net/propellor.git
Uploaded Mon Mar 31 04:44:50 UTC 2014 by JoeyHess
Distributions Debian:2.16.0, NixOS:5.1.0
Executables propellor
Downloads 11288 total (1868 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-17 [all 7 reports]
Hackage Matrix CI

Modules

  • Propellor
    • Propellor.CmdLine
    • Propellor.PrivData
    • Propellor.Property
      • Propellor.Property.Apt
      • Propellor.Property.Cmd
      • Propellor.Property.Docker
      • Propellor.Property.File
      • Propellor.Property.GitHome
      • Propellor.Property.Hostname
      • Propellor.Property.JoeySites
      • Propellor.Property.Network
      • Propellor.Property.Reboot
      • Propellor.Property.Ssh
      • Propellor.Property.Sudo
      • Propellor.Property.Tor
      • Propellor.Property.User
    • Propellor.Types

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for propellor-0.1.1

[back to package description]
This is a work in progress configuration management system using Haskell
and Git.

Propellor enures that the system it's run in satisfies a list of
properties, taking action as necessary when a property is not yet met.

The design is intentionally very minimal.

Propellor lives in a git repository, and so to set it up it's cloned
to a system, and "make" can be used to pull down any new changes,
and compile and run propellor. This can be done by a cron job, or
something can ssh in and run it.

Properties are defined using Haskell. Edit config.hs to get started.

There is no special language as used in puppet, chef, ansible, etc.. just
the full power of Haskell. Hopefully that power can be put to good use in
making declarative properties that are powerful, nicely idempotent, and
easy to adapt to a system's special needs.

Also avoided is any form of node classification. Ie, which hosts are part
of which classes and share which configuration. It might be nice to use
reclass[1], but then again a host is configured using simply haskell code,
and so it's easy to factor out things like classes of hosts as desired.

To bootstrap propellor on a new host, use: propellor --spin $host
This looks up the git repository's remote.origin.url (or remote.deploy.url
if available) and logs into the host, clones the url (if not already
done), and sets up and runs propellor in /usr/local/propellor

Private data such as passwords, ssh private keys, etc should not be checked
into a propellor git repository in the clear, unless you want to restrict
access to the repository. Which would probably involve a separate fork 
for each host and be annoying. 

Instead, propellor --spin $host looks for a privdata/$host.gpg file and
if found decrypts it and sends it to the host using ssh. To set a field
in such a file, use: propellor --set $host $field
The field name will be something like 'Password "root"'; see PrivData.hs
for available fields.

[1] http://reclass.pantsfullofunix.net/