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.

Source Distribution

uconf-0.3.8.tar.gz (20.9 kB view hashes)

Uploaded Source

Supported by

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