Defined Type: prometheus::cluster_config

Defined in:
modules/prometheus/manifests/cluster_config.pp

Overview

Parameters:

  • dest (String)
  • site (String)
  • cluster (String)
  • port (Stdlib::Port)
  • labels (Hash)
  • ensure (Wmflib::Ensure) (defaults to: present)


27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'modules/prometheus/manifests/cluster_config.pp', line 27

define prometheus::cluster_config(
  String $dest,
  String $site,
  String $cluster,
  Stdlib::Port $port,
  Hash $labels,
  Wmflib::Ensure $ensure = present,
) {
    file { $dest:
        ensure  => $ensure,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => template('prometheus/cluster_config.erb'),
    }
}