Forge Home


Yum provider that supports proper version locking


11,581 latest version

3.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.1 (latest)
released Apr 4th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'damianzaremba-yumng', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add damianzaremba-yumng
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install damianzaremba-yumng --version 0.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



damianzaremba/yumng — version 0.0.1 Apr 4th 2014


Yum package provider that supports proper version locking using the versionlock yum plugin.

Tested on

  • Puppet 3.4/3.5
  • CentOS 6.5 (yum-3.2.29-43.el6.centos.noarch, yum-plugin-versionlock-1.1.30-17.el6_5.noarch)


  • Put this module in modules/yumng

  • In your site manifest or base class include the following

    include yumng Package { provider => 'yumng' }


In a puppet environment where versions are enforced for packages it is nearly impossible to yum update a box - you either change the package version, which puppet tries to change back, or break things.

This uses the versionlock plugin to tell yum a package is locked to a certain version, meaning you can yum update all day long without bypassing puppet.


Copyright 2014 Damian Zaremba

yumng is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

yumng is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with yumng. If not, see