Puppet Class: collectd::plugin::write_log

Defined in:
manifests/plugin/write_log.pp

Overview

Parameters:

  • format (String) (defaults to: 'JSON')
  • ensure (Any) (defaults to: 'present')


1
2
3
4
5
6
7
8
9
10
11
# File 'manifests/plugin/write_log.pp', line 1

class collectd::plugin::write_log (
  String $format = 'JSON',
  $ensure        = 'present',
) {
  include collectd

  collectd::plugin { 'write_log':
    ensure  => $ensure,
    content => template('collectd/plugin/write_log.conf.erb'),
  }
}