Forge Home


Module to manage aptly


51,743 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.9.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.1
released Mar 19th 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'gdsoperations-aptly', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gdsoperations-aptly
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gdsoperations-aptly --version 1.0.0

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.

Tags: apt, aptly


gdsoperations/aptly — version 1.0.0 Mar 19th 2019


Puppet module for aptly.

Example usage

You need to include the apt module if you wish to install it out-of-the-box.

include apt

Include with default parameters:

include aptly

Create a mirror for manual update/snapshot/publish:

aptly::mirror { 'puppetlabs':
  location => '',
  repos    => ['main', 'dependencies'],
  key      => '4BD6EC30',

or with the puppetlabs/apt module 2.0+ format

aptly::mirror { 'puppetlabs':
  location => '',
  repos    => ['main', 'dependencies'],
  key      =>  {
    server => '',
    id     => '4BD6EC30',

Create an aptly repository to host local packages:

aptly::repo{ 'mylocalrepo': }

See the class and defined type documentation for advanced usage.


See LICENSE file.