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.

Files for uconf, version 0.3.8
Filename, size File type Python version Upload date Hashes
Filename, size uconf-0.3.8.tar.gz (20.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page