Puppet Class: mariadb::packages_wmf

Defined in:
modules/mariadb/manifests/packages_wmf.pp

Overview

Parameters:



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/mariadb/manifests/packages_wmf.pp', line 5

class mariadb::packages_wmf (
    String[1] $package,
) {
    ensure_packages([
        $package,
        'percona-toolkit',
        'grc',
    ])

    if debian::codename::ge('buster') {
        ensure_packages('mariadb-backup')
    }

    # Manual override until all hosts are in >10.1.44-1 or >10.4.13-1
    file { '/usr/local/bin/mbstream':
        ensure  => 'link',
        target  => "/opt/${package}/bin/mbstream",
        require => Package[$package]
    }
}