Puppet Class: prometheus::rsyslog_exporter

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • listen_address (Stdlib::IP::Address) (defaults to: $facts['networking']['ip'])
  • listen_port (Stdlib::Port) (defaults to: 9105)


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

class prometheus::rsyslog_exporter (
    Wmflib::Ensure      $ensure = present,
    Stdlib::IP::Address $listen_address = $facts['networking']['ip'],
    Stdlib::Port        $listen_port    = 9105,
) {
    package { 'prometheus-rsyslog-exporter':
        ensure => $ensure,
    }

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