Puppet Class: collectd::plugin::zookeeper
- Defined in:
- manifests/plugin/zookeeper.pp
Overview
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,
}
}
|