approx

contributions requested
Puppet approx module

11,810 downloads

11,131 latest version

2.4 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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'
  }