Puppet Class: prometheus::rsyslog_exporter

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • listen_address (String) (defaults to: ':9105')


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

class prometheus::rsyslog_exporter (
    Wmflib::Ensure $ensure = present,
    String $listen_address = ':9105',
) {
    package { 'prometheus-rsyslog-exporter':
        ensure => $ensure,
    }

    rsyslog::conf { 'exporter':
        ensure   => $ensure,
        content  => template("${module_name}/rsyslog_exporter.conf.erb"),
        priority => 10,
    }
}