Puppet Class: role::aptly::server

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

Overview

Class: role::aptly

Sets up a simple aptly repo server serving over http on port 80

filtertags: labs-common



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

class role::aptly::server {
    include ::aptly

    # Auto setup published repositories for all available distros
    aptly::repo { "jessie-${::labsproject}":
        publish => true,
        user    => $::aptly::owner,
    }

    aptly::repo { "stretch-${::labsproject}":
        publish => true,
        user    => $::aptly::owner,
    }
}