Puppet Class: collectd::plugin::syslog

Defined in:
manifests/plugin/syslog.pp

Overview

Parameters:

  • ensure (Any) (defaults to: present)
  • interval (Any) (defaults to: undef)
  • log_level (Any) (defaults to: 'info')


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/plugin/syslog.pp', line 2

class collectd::plugin::syslog (
  $ensure    = present,
  $interval  = undef,
  $log_level = 'info'
) {

  collectd::plugin {'syslog':
    ensure   => $ensure,
    content  => template('collectd/plugin/syslog.conf.erb'),
    interval => $interval,
    # Load logging plugin first
    # https://github.com/pdxcat/puppet-module-collectd/pull/166#issuecomment-50591413
    order    => '05',
  }
}