Skip to main content

Lightweight Salt package for confd-style management of local application configuration files

Project description

Lightweight Salt package for confd style management of local application configuration files.

Why

Please note that the intent of this software package is not to compete against confd or other popular equivalents; it was born purely out of my personal preference / bias of using Salt for managing files (and others). Salt is typically at the opposite end of “lightweight” and this package aims to alleviate this, however it still cannot get better than confd - from this perspective. Alas, it’s written in Python.

If you want, in short, here’s why I took this approach:

  1. Why not?

  2. It’s fun.

  3. I like Salt, and it offers a variety of well-known templating languages to manage the files, including Jinja, Mako, Cheetah, or even pure Python - and others.

  4. What I find missing in confd is the possibility to manage the local config files based on more environment parameters - e.g., have idempotent templates that can be used across a number of distributions (as in opposite to having separate files / directory tree / or even repositories for different base operating system distribution); with Salt, this can be very easily done using the Grains.

  5. It’s a common practice to provide an alternative to an existing software, in another widely used programming language.

  6. Salt covers a large variety of backends to fetch the data from (including Redis, Consul, etcd, and so on).

    Additionally, Salt is easily extensible (not by forking the project), but in your own environment by simply putting the module for your backend of choice under a specific path.

Installation

$ pip install salt-confd

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

salt-confd-2019.7.0a1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file salt-confd-2019.7.0a1.tar.gz.

File metadata

  • Download URL: salt-confd-2019.7.0a1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for salt-confd-2019.7.0a1.tar.gz
Algorithm Hash digest
SHA256 be959924a3db8adb043d6b094b5d87edc3db1539712ee487be2e444870fe5df6
MD5 9845da15413122fcabb6b64d5ff9b0e4
BLAKE2b-256 80432ca165eea958039af93f1e2d85eb4be30e1b9078bf3de221627819f22544

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page