Puppet Class: profile::rsyslog::udp_json_logback_compat

Defined in:
modules/profile/manifests/rsyslog/udp_json_logback_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_json_logback_compat_port', 11514))


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

class profile::rsyslog::udp_json_logback_compat(
    Array   $logging_kafka_brokers = hiera('profile::rsyslog::kafka_shipper::kafka_brokers'),
    Integer $port = hiera('profile::rsyslog::udp_json_logback_compat_port', 11514),
) {
    require_package('rsyslog-kafka')

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