Here is a problem. Let’s have a company with dozens of developer workstations, while we need to maintain the same development environment on all of them.
We know the Software Collections, which store files from RPMs into /opt and thus allow us to install multiple versions of various software on the same machine, even on an enterprise platform like Red Hat Enterprise Linux 7. Installing packages in different versions could break things, so it is wise to use the Software Collections for that purpose.
Anyway, back to the developer workstations — we might for example set up a system to deploy the same environment stacks on multiple systems (Satellite, Puppet, Ansible), but when adding a new package to the set of available packages, we would still need to run commands on all the systems.
What may be much more handy is mounting the /opt/rh directory from one system to all the developer workstations (using NFS for example). We also can make the /opt/rh read-only, so clients cannot influence other clients.
So, let’s try it. First, we install a collection (in this case Python 3.4) on the NFS server:
Continue reading “Maintain Software Collections easily on thousands of machines using scl register”