78
What distribution is most used in production environment
(lemmy.stonansh.org)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
It's been a long time, if I remember correctly one of them is Postfix. Again going from memory that's at least five years old, when installed in say Ubuntu, you get asked questions, like what you want your mailserver hostname to be, whether you want to configure a relay, etc. This is fine if you know the answers at install time and you're around to answer the question, otherwise your automation will hang indefinitely if this is not worked around.
Now also IIRC, there are ways to work around this, such as by providing the answers in your automation for the package install step (but then you're mixing partial postfix config with the package install and the remainder of the config is separate, feels weird) , in some cases it' might be simply an apt option, but like I said, it takes extra code in your automation which is not necessary on RHEL based distros. Installing a package in Ansible can be 3 short lines of code, for Deb based it's like 10 lines.
Doing this for one package isn't such a big deal, but when you find yourself having to work around things and writing extra code for one specific distro/family it becomes clear it wasn't made for automation and unless you have a personal affinity for it, it's just a bit easier to use something else.
This is not a diss, it's not a bad thing for a distro to made for humans, it's just in that the environments I work in, managing hundreds of machines with Ansible and having a significant code base I prefer to have my code smaller and cleaner.