Puppet Class: mariadb::packages_client

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

Overview



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

class mariadb::packages_client {

    package { [
        'percona-toolkit',       # very useful client utilities
        'grc',                   # used to colorize paged sql output
        'python3-pymysql',       # dependency for some utilities- TODO: delete & add as dependency
        'python3-tabulate',      # dependency for some utilities- TODO: delete & add as dependency
    ]:
        ensure => present,
    }

    if os_version('debian < stretch') {
        require_package('percona-xtrabackup',
                        'wmf-mariadb101-client')  # mariadb client, custom wmf package
    } elsif os_version('debian == stretch') {
        require_package('wmf-mariadb101-client')  # xtrabackup only available on wmf-mariadb101 server package
    } elsif os_version('debian >= buster') {
        require_package('mariadb-backup',
                        'wmf-mariadb104-client')
    }
}