Puppet Class: profile::swift::stats_reporter

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

Overview

filtertags: labs-project-deployment-prep

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • swift_cluster (String) (defaults to: lookup('profile::swift::cluster'))
  • accounts (Hash[String, Hash]) (defaults to: lookup('profile::swift::accounts'))
  • credentials (Hash[String, String]) (defaults to: lookup('profile::swift::accounts_keys'))


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

class profile::swift::stats_reporter (
    Wmflib::Ensure $ensure = present, # lint:ignore:wmf_styleguide
    String $swift_cluster = lookup('profile::swift::cluster'),
    Hash[String, Hash] $accounts = lookup('profile::swift::accounts'),
    Hash[String, String] $credentials = lookup('profile::swift::accounts_keys'),
) {
    class { '::swift::stats::dispersion':
        ensure        => $ensure,
        swift_cluster => $swift_cluster,
    }

    class { '::swift::stats::accounts':
        ensure        => $ensure,
        swift_cluster => $swift_cluster,
        accounts      => $accounts,
        credentials   => $credentials,
    }
}