Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to keep several CentoS/RH 5 servers keep the same set of RPM's? I.e., when I install or update an RPM on one of them using a common YUM repository, make the other servers update/install it too.

Keeping everything updated to the latest version of everything from the repository is not an option.

share|improve this question
up vote 6 down vote accepted

The following ideas may also help you:

  • Use the yum versionlock plugin (yum install yum-plugin-versionlock) to lock specific packages to a specific version or release.
  • Use Katello or the older Spacewalk for a more centralized management tool, similar to Red Hat Satellite. It allows you to create custom software channels with specific packages in them.
share|improve this answer
+1 for spacewalk; it's clean, and scales quite well. – tink Jan 28 '13 at 21:41
awesome! spacewalk is exactly what I need. – m1tk4 Jan 30 '13 at 3:43

Pick your method.

  • Roll your own repo and keep this updated to the last version you want.
  • Use a tool like Puppet.
  • Use a distributed shell to issue the update commands.
  • Use one machine as master and script a tool that reads the package list on the master and uses this on the others.
share|improve this answer
1 already doing that, not an option 2 a bit overkill 3 & 4 - I was hoping there is already something to avoid doing this. Thanks anyway – m1tk4 Jan 28 '13 at 18:43
1) is the best method, imho. Its the best for allowing you to stage the updates and test them before having all other machines use them. – Sirex Jan 28 '13 at 19:32

Apart from the tools/ideas listed, another nice solution for this task is Pulp.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.