Puppet Class: swift::stats_reporter

Defined in:
modules/swift/manifests/stats_reporter.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:



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

class swift::stats_reporter (
    Wmflib::Ensure       $ensure,
    String               $swift_cluster,
    Hash[String, Hash]   $accounts,
    Hash[String, String] $credentials,
){

    class { 'swift::stats::dispersion':
        ensure        => $ensure,
        swift_cluster => $swift_cluster,
        statsd_host   => 'localhost',
        statsd_port   => '9125',
    }

    class { 'swift::stats::accounts':
        ensure        => $ensure,
        swift_cluster => $swift_cluster,
        accounts      => $accounts,
        credentials   => $credentials,
        statsd_host   => 'localhost',
        statsd_port   => '9125',
    }
}