[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CfEngine vs bash scripts



Hi,

> But when there is only one server to configure and maintain, bash scripts are much better.

No. Sometimes, sometimes not.

> - They are more powerful and flexible.

Yes. And no. Cfengine can call shell commands just as well. It's just a more versatile way of doing "if grep ... | ...; then ..."

> - Bash is ubiquitous (it is available everywhere), no need for extra dependencies.

No. POSIX Shell is available everywhere, bash is not.

(Yes, I know, on every *Debian* system... Still, please don't use bash for scripting.)

> - Bash scripts are much more popular than cfengine (or ansible). The number of people who can understand, customize and contribute to bash scripts is much higher than those who can do the same thing with cfengine.

Citation needed!


(Yes, I am a big fan of shell scripts. Heck, I am the one who has written a full interactive GOSa replacement plus non-profit ERP in Korn Shell. Yet, your assumptions are wrong, IMHO.)


That said, both Mike and me are making efforts to introduce FAI to parts of Debian Edu, but not for everything.

-nik

Reply to: