Puppet Class: role::aptly::client

Defined in:
modules/role/manifests/aptly/client.pp

Overview

Class: role::aptly::client

Sets up a simple deb package that points to the project's aptly server TODO: convert this to a profile

Parameters:

  • servername (Stdlib::Fqdn)
  • components (Array[String[1]]) (defaults to: ['main'])
  • protocol (Enum['http', 'https']) (defaults to: 'http')
  • auto_upgrade (Boolean) (defaults to: true)


5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/role/manifests/aptly/client.pp', line 5

class role::aptly::client(
    Stdlib::Fqdn          $servername,
    Array[String[1]]      $components   = ['main'],
    Enum['http', 'https'] $protocol     = 'http',
    Boolean               $auto_upgrade = true,
) {
    class { 'aptly::client':
        servername   => $servername,
        components   => $components,
        protocol     => $protocol,
        auto_upgrade => $auto_upgrade,
    }
}