3

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.

3 Answers 3

6

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.
2
  • 1
    +1 for spacewalk; it's clean, and scales quite well.
    – tink
    Jan 28, 2013 at 21:41
  • awesome! spacewalk is exactly what I need.
    – m1tk4
    Jan 30, 2013 at 3:43
10

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.
2
  • 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, 2013 at 18:43
  • 1
    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, 2013 at 19:32
3

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .