Forge Home

approx

Puppet approx module

11,453 downloads

10,847 latest version

2.4 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

  • 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.

Download

Documentation

lex/approx — version 1.0.1 Dec 5th 2014

DESCRIPTION

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

DEPENDENCIES

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

BASIC CLASS

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.

MIRROR CLASS

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

  approx::mirror { 'debian':
    origin => 'ftp://mirror.hetzner.de/debian'
  }