3 ms·
IMHO Ruby is better for creating DSLs, so I wrote a small thing to scratch my own itch: https://github.com/marius/koch https://github.com/marius/koch This is n
by Maledictus 2y ago
IMHO Ruby is better for creating DSLs, so I wrote a small thing to scratch my own itch: https://github.com/marius/koch https://github.com/marius/koch
This is not meant to scale to more than a handful of machines, but you get the idea how nice straight Ruby is for a machine specification DSL.
- lnxg33k1 2y agoAnecdata: maybe yes, but when I was using puppet it would take 45 minutes just to load
- mdaniel 2y agohttps://github.com/marius/koch/blob/main/example/Rezeptfile https://github.com/marius/koch/blob/main/example/Rezeptfile suffers from the same problem I have with every single ruby ever: what are the available verbs I can type? Contrast that with https://docs.pyinfra.com/en/next/examples/client_side_assets.html https://docs.pyinfra.com/en/next/examples/client_side_assets... where any sane setup will show completions after both the `from` and the `local.` typing
- Maledictus 2y agoThank you for the feedback! I agree that completion would be nice to have, and probably relatively hard to implement for koch. However, I prefer the cleanliness, dare I say beauty, of the config file and Ruby.