Why is Puppet and Chef using Ruby?

We all know that Puppet and Chef are superstars in the field of IT automation, and they are developed in Ruby (although the Chef 11 server was rewritten in Erlang).

In my work environment, a very large group of operating groups use Python as their primary language for developing operating tools or basic system applications.

I want to find why both the puppeteer and the chef were written in Ruby? What are the benefits? Ruby supports DSL well. Can Python do such a thing?

+6
source share
1 answer

From Luke Kani, Pupts author:

I was a system administrator by profession and basically developed in perl, but when I tried to write a prototype that I had in mind, I could not get the class of relations that I wanted in perl. I tried Python because it was around 2003, and Python was the next new thing, and everyone said how cool it is, but I just can't write Python at all. a friend said he heard Rubin cool, so I tried, and four hours ago I didn’t see him see a working prototype. Since then I do not believe, and I regret the choice.

+15
source

Source: https://habr.com/ru/post/945743/


All Articles