Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IMHO Ruby is better for creating DSLs, so I wrote a small thing to scratch my own itch: 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.



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... where any sane setup will show completions after both the `from` and the `local.` typing


Thank 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.


Anecdata: maybe yes, but when I was using puppet it would take 45 minutes just to load




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: