Skip to main content

UConf, a smart tool for managing config files

Project description

UConf is a small tool aiming to provide simple handling of configuration files for an heterogeneous computer set.

Its key concepts are:

  • Abstract host-specific config to common features (server, relay, …)
  • Host-specific configuration may range from a single-line change to a whole file rewrite
  • Configuration files are modified in place, not in the source - versionned - repository.

Configuring

You can get started with uconf init <source_dir> <target_dir>. This will generate the following layout:

./<source_dir>
    config
    src/

The config file is UConf’s main entry point. Its content should look like:

[global]
; Install files into the <target_dir> folder.
target: <target_dir>

; Default to parsing the files.
default-action: parse

[categories]
; Put your category definitions here
; Example:
; myserv: server
; server and slave: not master

[files]
; Add category-file rules
; server: ssh/sshd_config
; laptop: X11/xorg.conf

[rules]
; Override file rules here
; boot/splash_screen: copy

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
uconf-0.3.8.tar.gz (20.9 kB) Copy SHA256 hash SHA256 Source None Mar 7, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page