Problem
I have a large infrastructure consisting of several servers running Linux. For example, database servers, load balancers, application servers. There are many instances of all types of servers, and all of them must be reproducible.
Each type of server is basically a custom distribution. Personalization includes changes to upstream packages (another version of the upstream, build options, fixes, etc.), and possibly some additional custom packages.
For example, I need a server running the latest OpenLDAP slapd compiled with certain parameters and some fixes. And here everything gets complicated.
Upgrading to the latest slapd will also require updating the libraries on which it depends, which means rebuilding all packages that also depend on these libraries. That is, I basically need to rebuild a significant part of the distribution. I am looking for a solution that helps automate this process.
Decision requirements
Some kind of vague. I want to prepare everything necessary for creating my own distribution kit, give it a name (for example, ldap-server) and assign this name to the automatic build system at any time when I need to play the assembly.
I think this is what the Gengoo or LFS community should have. I also saw projects like ALT Linux Hasher , Fedora Mock, Debian pbuilder / sbuild, but I never used them.
Any ideas?
Thanks in advance!