Show HN: A configuration management system for minimal *Nix environments(jackforrest.me)
jackforrest.me
Show HN: A configuration management system for minimal *Nix environments
https://jackforrest.me/sysunit/
2 comments
If going for minimalism, why have any framework/runner at all? Use the raw bash scripts.
(I'd say different things for a more complex system which can, for example, track the files created and show if any of them were unexpectedly modified. But your system does not seem to implement any of it, it's just a overcomplicated shell runner)
if [ ! -f /tmp/foo ]; then $maybe_dryrun touch /tmp/foo; fi
There will be a bit of boilerplate, but it would be much easier to understand and debug.(I'd say different things for a more complex system which can, for example, track the files created and show if any of them were unexpectedly modified. But your system does not seem to implement any of it, it's just a overcomplicated shell runner)
Grateful for feedback on the approach! A couple of friends and I have found it useful for day-to-day automation tasks and I'm wondering if there's enough utility in its ability to target minimal environments like Alpine containers or IoT devices to warrant fleshing out a proper 1.0 release.