Puppet Class: role::pybal::testing

Defined in:
modules/role/manifests/pybal/testing.pp

Overview



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'modules/role/manifests/pybal/testing.pp', line 5

class role::pybal::testing {
    include ::pybal
    $opts = {
        'instrumentation' => 'yes',
        'bgp'             => 'no',
        'dry-run'         => 'yes',
    }

    $lvs_class_hosts_stub = {
        'high-traffic1' => [$::hostname],
        'high-traffic2' => [$::hostname],
        'low-traffic'   => [$::hostname],
    }

    class { 'pybal::configuration':
        global_options  => $opts,
        lvs_services    => hiera('lvs::configuration::lvs_services'),
        lvs_class_hosts => $lvs_class_hosts_stub,
        site            => hiera('pybal::configuration::site', 'eqiad'),
        config          => hiera('pybal::configuration::config', 'http'),
        config_host     => hiera(
            'pybal::configuration::config_host', 'config-master.eqiad.wmnet'),
    }
}