Puppet Class: collectd::plugin::write_prometheus
- Defined in:
- manifests/plugin/write_prometheus.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'manifests/plugin/write_prometheus.pp', line 1
class collectd::plugin::write_prometheus (
$port = '9103',
$ensure = 'present',
) {
include ::collectd
validate_string($port)
collectd::plugin { 'write_prometheus':
ensure => $ensure,
content => template('collectd/plugin/write_prometheus.conf.erb'),
}
}
|