Re:Shef
by mattbillenstein on Thursday March 13, 2025 @05:51PM
(#43357575)
Interesting, I built a whole rpc / file-server ala saltstack on top of something like this:
https://github.com/mattbillenstein/salty
Been using this on a couple startups for a couple years, but it lacks polish in terms of user-friendliness.
Interesting how we came to some of the same types of things - like you have .notify() - I return a result object with a "changed" flag, etc.
But then I decided I really kind of despise "programming" in YAML (conditionals and loops in particular). So I adapted Ansible ideas to Python, in particular: idempotent commands and notifications (commands triggered later, when another set of commands make a change; like restarting apache after making a bunch of config changes).
https://github.com/linsomniac/uplaybook?tab=readme-ov-file