Forge Home


Puppet module to cache yum packages and create a local repo


12,491 latest version

2.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 Mar 28th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'fiddyspence-yumcache', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add fiddyspence-yumcache
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install fiddyspence-yumcache --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.



fiddyspence/yumcache — version 0.0.1 Mar 28th 2013

This module uses existing configured Yum repos to download specific packages (and optionally satisfy dependencies) and then create a local repo from the result.

Requires storeconfigs to export the Yumrepo, and you need to add the vhost config for yourself

yumcache { 'my_yumcache': }
yumcache::package { 'httpd':
  target => 'my_yumcache',
yumcache::package { 'haproxy':
  target => 'my_yumcache',
  deps   => 'false',
Yumrepo <<| tag == 'yumcache' |>>

Example Apache config:

Alias /my_yumcache "/var/opt/lib/pe-puppet/yumcache/my_yumcache"
<Directory /var/opt/lib/pe-puppet/yumcache/my_yumcache>
    AllowOverride None
    Order allow,deny
    Allow from all