Puppet Class: profile::wmcs::services::toolsdb_apt_pinning

Defined in:
modules/profile/manifests/wmcs/services/toolsdb_apt_pinning.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/profile/manifests/wmcs/services/toolsdb_apt_pinning.pp', line 1

class profile::wmcs::services::toolsdb_apt_pinning (
) {
    # if you are hitting this assert, you likely need to refresh package pins
    requires_os('debian == stretch')

    apt::pin { 'toolsdb_fixed_mariadb_version':
        package  => 'wmf-mariadb101',
        pin      => 'version 10.1.39-1',
        priority => '1002',
    }

    apt::pin { 'toolsdb_no_debian_package':
        package  => 'mariadb-server',
        pin      => 'version *',
        priority => '-1',
    }

    apt::pin { 'toolsdb_no_mariadb_103':
        package  => 'wmf-mariadb103',
        pin      => 'version *',
        priority => '-1',
    }
}