Puppet Class: st2::logging::rsyslog

Defined in:
manifests/logging/rsyslog.pp

Summary

Helper class to route syslog messages when using rsyslog

Overview

This class bootstraps a system configured with rsyslog and st2::syslog enabled to route messages to all the right places.

Examples:

Basic usage

include st2::logging::rsyslog


9
10
11
12
13
14
15
16
17
# File 'manifests/logging/rsyslog.pp', line 9

class st2::logging::rsyslog {
  file { '/etc/rsyslog.d/10-st2.conf':
    ensure => file,
    owner  => 'root',
    group  => 'root',
    mode   => '0640',
    source => 'puppet:///modules/st2/etc/rsyslog.d/10-st2.conf',
  }
}