alphagov / puppet-aptly

No longer maintained: Puppet module for aptly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aptly

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 => 'http://apt.puppetlabs.com/',
  repos    => ['main', 'dependencies'],
  key      => '4BD6EC30',
}

or with the puppetlabs/apt module 2.0+ format

aptly::mirror { 'puppetlabs':
  location => 'http://apt.puppetlabs.com/',
  repos    => ['main', 'dependencies'],
  key      =>  {
    server => 'keyserver.ubuntu.com',
    id     => '4BD6EC30',
  }
}

Create an aptly repository to host local packages:

aptly::repo{ 'mylocalrepo': }

See the class and defined type documentation for advanced usage.

License

See LICENSE file.

About

No longer maintained: Puppet module for aptly

License:MIT License


Languages

Language:Ruby 79.4%Language:Puppet 19.6%Language:HTML 1.0%