Skip to content

Python Declarative Framework for Configuration Management of Linux systems

License

Notifications You must be signed in to change notification settings

joaompinto/lxcraft

Repository files navigation

LXCraft

A Declarative Configuration Build Tool for Linux Systems

PyPi Code style: black

A simple declarative configuration build tool for Linux systems.

  • 🐍 Pure Python declarative code
    • No need to learn a new DSL/programming language
    • Leverage IDE features like inline documentation, code completion, linting, etc.
  • 📏 Ephemeral target system
    • No need to worry about maintaing the system state
  • Simpler than Chef, Puppet, Ansible, Terraform, SaltStack, etc. due to the above

How to use

from lxcraft import Plan
from lxcraft.debian import AptPackages

Plan([
    AptPackages(["nginx"])
]).execute()

How to develop

Requirements

  • Python 3.10+ is required.
  • Linux or WSL.

In order to develop you must use Linux or WSL with docker.

python develop/docker-bash.py
invoke setup
invoke test

About

Python Declarative Framework for Configuration Management of Linux systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published