Puppet Class: role::wmcs::db::toolsdb_secondary

Defined in:
modules/role/manifests/wmcs/db/toolsdb_secondary.pp

Overview



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

class role::wmcs::db::toolsdb_secondary {

    system::role { 'wmcs::db::toolsdb_secondary':
        description => 'Cloud user database secondary',
    }

    include ::profile::mariadb::monitor
    include ::role::mariadb::ferm
    include ::profile::wmcs::services::toolsdb_secondary

    # FIXME: Add the socket location to make the transition easier.
    $socket = '/var/run/mysqld/mysqld.sock'

    class { 'profile::mariadb::monitor::prometheus':
        mysql_group => 'labs',
        mysql_role  => 'slave',
        mysql_shard => 'tools',
        socket      => $socket,
    }

}