Forge Home


Puppet approx module


10,642 latest version

2.4 quality score

Version information

  • 1.0.1 (latest)
  • 1.0.0
released Dec 5th 2014
This version is compatible with:
  • Puppet Enterprise 3.2.x
  • Puppet 3.x
  • Debian, Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'lex-approx', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add lex-approx
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install lex-approx --version 1.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.



lex/approx — version 1.0.1 Dec 5th 2014


This is module for managing approx apt proxy mirror.
It supports every single option you can find in original config.


  • puppet >= 2.6
  • puppetlabs/concat >= 1.0.0


Will install approx with default options and without any mirrors.
Can be customized with following:

class { 'approx':
  cache => "/srv/approx/",
  max_rate => 10,
  max_redirects => 10,
  user => approx,
  group => approx,
  syslog => daemon,
  pdiffs => true,
  offline => false,
  max_wait => 10,
  verbose => false,
  debug => false,

All params except $cache is optional and undefined by default.


Will setup new mirror with specified origin.
Can be used several times for specifying several mirrors.

  approx::mirror { 'debian':
    origin => ''