Puppet Class: profile::rsyslog::netdev_kafka_relay

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

Overview

Parameters:

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


9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/rsyslog/netdev_kafka_relay.pp', line 9

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

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

}