Merge Butane configurations
Project description
bumerge
Merge Butane configurations
This is a simple Python script that will merge Butane configurations from multiple files into one. Makes your job easier when you manage servers.
- merges multiple
.bu
files into one - inlines external files into the configs
- checks source configs for errors
bumerge currently supports Fedora CoreOS Specification v1.5.0. Support for other distributions is planned, but not prioritized.
Install
pipx install bumerge # or pip, or conda, or pipsi, or ...
Use
Just pass the list of the files to the app
bumerge root.bu modules/time.bu modules/user.bu
Important: bumerge will perform a deep merge. If there are key conflicts, the latter file takes precedence.
Command-line arguments
$ bumerge --help
usage: bumerge [-h] [--version] [--output FILE] FILE [FILE ...]
positional arguments:
FILE config files to merge
options:
-h, --help show help message and exit
--version, -V show program's version number and exit
--output FILE, -o FILE output file. Outputs to stdout by default
Licence
© 2023 Nikita Karamov
Licensed under the BSD 2-Clause "Simplified" License.
This README can also be licensed under the Creative Commons Attribution 4.0 International
This project is hosted on GitHub: https://github.com/kytta/bumerge.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bumerge-0.1.0.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665134505eaf2f024df4024c832c7d3fc254b14d2cebf91d78be2b976bdf07b1 |
|
MD5 | bec1bd6b48a8f7fc70bc30c490f2aaf5 |
|
BLAKE2b-256 | a84d0baeb3db0e2a9f3b837461a566140a13879ec55e39cfd0303cfabf3071d9 |