Puppet Class: prometheus_cd::params

Summary

Class holds all parameters for the prometheus_cd module.

Overview

prometheus_cd::params.pp Module name: prometheus_cd Author: Arne Teuke (arne_teuke@confdroid.com)

Parameters:

  • reqpackage_prom (String) (defaults to: 'prometheus')

    the prometheus package

  • reqpackage_ne (String) (defaults to: 'node_exporter')

    the node_exporter package

  • pkg_ensure (String) (defaults to: 'present')

    which version of the package to install

  • manage_prometheus (Boolean) (defaults to: false)

    whether to manage prometheus

  • manage_node_exporter (Boolean) (defaults to: false)

    whether to manage node exporter



11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/params.pp', line 11

class prometheus_cd::params (
  String $reqpackage_prom       = 'prometheus',
  String $reqpackage_ne         = 'node_exporter',
  String $pkg_ensure            = 'present',
  Boolean $manage_prometheus    = false,
  Boolean $manage_node_exporter = false,

) {
  # includes must be last
  include prometheus_cd::main::config
}