Puppet Class: collectd::plugin::zookeeper

Defined in:
manifests/plugin/zookeeper.pp

Overview

Parameters:

  • ensure (Enum['present', 'absent']) (defaults to: 'present')
  • interval (Optional[Integer]) (defaults to: undef)
  • zookeeper_host (Stdlib::Host) (defaults to: 'localhost')
  • zookeeper_port (Stdlib::Port) (defaults to: 2181)


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

class collectd::plugin::zookeeper (
  Enum['present', 'absent'] $ensure           = 'present',
  Optional[Integer]         $interval         = undef,
  Stdlib::Host              $zookeeper_host   = 'localhost',
  Stdlib::Port              $zookeeper_port   = 2181,
) {
  include collectd

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