GitHunt
MA

mat128/purpleconf.sh

System configuration management, as simple as can be.

Purpleconf

System configuration management, as simple as can be.

Purpleconf is a tool enabling remote machine configuration as code as simply as possible.
It is based on simple principles and requires very little dependencies.

Design goals

  • Easy to modify
  • Simple mapping to regular shell commands

Requirements

Infratools requires yq (ideally version 4+) and jq during "compilation" for machines.yaml parsing.

Running tests requires bats-core.

Usage

Compiling for a specific machine:

./compile.sh machines.yaml machine.example.com

Deploying:

./deploy.sh machines.yaml machine.example.com

Exit codes

Deploying might exit with specific exit codes. Please refer to the following table for the list of possible codes:

Code Description
0 No error.
1 Unspecified error.
101 Human intervention required. Process halted.

Languages

Shell99.4%Dockerfile0.3%Makefile0.3%

Contributors

GNU General Public License v3.0
Created August 31, 2022
Updated December 5, 2022
mat128/purpleconf.sh | GitHunt