Puppet Class: collectd::plugin::openldap

Defined in:
manifests/plugin/openldap.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • instances (Hash) (defaults to: { 'localhost' => { 'url' => 'ldap://localhost/' } })
  • interval (Any) (defaults to: undef)


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

class collectd::plugin::openldap (
  $ensure         = 'present',
  Hash $instances = { 'localhost' => { 'url' => 'ldap://localhost/' } },
  $interval       = undef,
) {
  include collectd

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