Puppet Class: profile::rsyslog::udp_localhost_compat

Defined in:
modules/profile/manifests/rsyslog/udp_localhost_compat.pp

Overview

Parameters:

  • logging_kafka_brokers (Array) (defaults to: hiera('profile::rsyslog::kafka_shipper::kafka_brokers'))
  • port (Integer) (defaults to: hiera('profile::rsyslog::udp_localhost_compat_port', 10514))


7
8
9
10
11
12
13
14
15
16
17
# File 'modules/profile/manifests/rsyslog/udp_localhost_compat.pp', line 7

class profile::rsyslog::udp_localhost_compat (
    Array   $logging_kafka_brokers = hiera('profile::rsyslog::kafka_shipper::kafka_brokers'),
    Integer $port = hiera('profile::rsyslog::udp_localhost_compat_port', 10514),
) {
    require_package('rsyslog-kafka')

    rsyslog::conf { 'udp_localhost_compat':
        content  => template('profile/rsyslog/udp_localhost_compat.conf.erb'),
        priority => 50,
    }
}