Use Puppet to manage yum version lock

I periodically update the my lab servers by running yum update all. But for some packages that I want them to stay at  specific versions. For example, I don’t want the httpd and bind get updated when I run yum update. According to the results of ‘yum update httpd bind’, I can see there are updates available for these two packages.


To exclude them from getting updated, I used a tool call yum-versionlock (for RHEL/CentOS 5.x)/ yum-plugin-versionlock (for RHEL/CentOS 6.x). And I pushed the tool and configurations via Puppet.  Here is how it looks after I applied the module.


The module can be found here.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s