Puppet Class: contint::packages::apt

Defined in:
modules/contint/manifests/packages/apt.pp

Overview

Class contint::packages::apt

Apt configuration needed for contint hosts



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/contint/manifests/packages/apt.pp', line 5

class contint::packages::apt {
    include ::apt::unattendedupgrades

    if os_version('debian == jessie') {
        # Sanity check: only enable in labs
        requires_realm('labs')
        # Enable deb.sury.org PHP packages for jessie only
        apt::repository { 'sury-php':
            uri        => 'https://packages.sury.org/php/',
            dist       => $::lsbdistcodename,
            components => 'main',
            source     => false,
            keyfile    => 'puppet:///modules/contint/sury-php.gpg',
        }
    }
}