Puppet Class: package_builder::environments

Defined in:
modules/package_builder/manifests/environments.pp

Overview

Class package_builder::environments A wrapper class for package::pbuilder_base. Mostly exists to make the addition of new distributions as easy as possible

Parameters:

  • basepath (Stdlib::Unixpath) (defaults to: '/var/cache/pbuilder')


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'modules/package_builder/manifests/environments.pp', line 4

class package_builder::environments(
    Stdlib::Unixpath $basepath='/var/cache/pbuilder',
) {
    package_builder::pbuilder_base { 'jessie-amd64':
        distribution => 'jessie',
        components   => 'main',
        architecture => 'amd64',
        mirror       => 'http://mirrors.wikimedia.org/debian',
        keyring      => '/usr/share/keyrings/debian-archive-keyring.gpg',
        basepath     => $basepath,
    }
    package_builder::pbuilder_base { 'stretch-amd64':
        distribution => 'stretch',
        components   => 'main',
        architecture => 'amd64',
        mirror       => 'http://mirrors.wikimedia.org/debian',
        keyring      => '/usr/share/keyrings/debian-archive-keyring.gpg',
        basepath     => $basepath,
    }
    package_builder::pbuilder_base { 'buster-amd64':
        distribution => 'buster',
        components   => 'main',
        architecture => 'amd64',
        mirror       => 'http://mirrors.wikimedia.org/debian',
        keyring      => '/usr/share/keyrings/debian-archive-keyring.gpg',
        basepath     => $basepath,
    }
    package_builder::pbuilder_base { 'bullseye-amd64':
        distribution => 'bullseye',
        components   => 'main',
        architecture => 'amd64',
        mirror       => 'http://mirrors.wikimedia.org/debian',
        keyring      => '/usr/share/keyrings/debian-archive-keyring.gpg',
        basepath     => $basepath,
    }
    package_builder::pbuilder_base { 'sid-amd64':
        distribution       => 'sid',
        distribution_alias => 'unstable',
        components         => 'main',
        architecture       => 'amd64',
        mirror             => 'http://mirrors.wikimedia.org/debian',
        keyring            => '/usr/share/keyrings/debian-archive-keyring.gpg',
        basepath           => $basepath,
    }
}