Puppet Class: prometheus::icinga_exporter

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

Overview

Parameters:

  • prometheus_user (Any) (defaults to: 'prometheus')
  • ensure (Any) (defaults to: 'present')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/prometheus/manifests/icinga_exporter.pp', line 1

class prometheus::icinga_exporter(
  $prometheus_user = 'prometheus',
  $ensure='present'
) {
  package { 'prometheus-icinga-exporter':
    ensure => $ensure,
  }

  service { 'prometheus-icinga-exporter':
    ensure => running,
    enable => true,
  }

  base::service_auto_restart { 'prometheus-icinga-exporter': }
}