Puppet Class: profile::swift::storage::expirer

Defined in:
modules/profile/manifests/swift/storage/expirer.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: lookup('profile::swift::storage::expirer::ensure', { 'default_value' => 'absent' }))
  • swift_cluster (String) (defaults to: lookup('profile::swift::cluster'))
  • memcached_servers (Tuple) (defaults to: lookup('profile::swift::proxy::memcached_servers'))


1
2
3
4
5
6
7
8
9
10
11
# File 'modules/profile/manifests/swift/storage/expirer.pp', line 1

class profile::swift::storage::expirer (
    Wmflib::Ensure $ensure            = lookup('profile::swift::storage::expirer::ensure', { 'default_value' => 'absent' }),
    String         $swift_cluster     = lookup('profile::swift::cluster'),
    Tuple          $memcached_servers = lookup('profile::swift::proxy::memcached_servers')
) {
    class { '::swift::expirer':
        ensure               => $ensure,
        statsd_metric_prefix => "swift.${swift_cluster}.${::hostname}",
        memcached_servers    => $memcached_servers,
    }
}