Puppet Class: profile::wmcs::services::toolsdb_primary

Defined in:
modules/profile/manifests/wmcs/services/toolsdb_primary.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
24
25
# File 'modules/profile/manifests/wmcs/services/toolsdb_primary.pp', line 1

class profile::wmcs::services::toolsdb_primary (
) {
    require profile::wmcs::services::toolsdb_apt_pinning

    class { '::mariadb::packages_wmf': }
    class { '::mariadb::service': }
    include ::passwords::misc::scripts

    $socket = '/var/run/mysqld/mysqld.sock'

    class { 'profile::mariadb::monitor::prometheus':
        socket      => $socket,
    }

    class { 'mariadb::config':
        config        => 'role/mariadb/mysqld_config/tools.my.cnf.erb',
        datadir       => '/srv/labsdb/data',
        basedir       => '/opt/wmf-mariadb101',
        tmpdir        => '/srv/labsdb/tmp',
        ssl           => 'puppet-cert',
        binlog_format => 'ROW',
        read_only     => 'OFF',
        socket        => $socket,
    }
}