Puppet Class: collectd::plugin::write_http
- Defined in:
- manifests/plugin/write_http.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/plugin/write_http.pp', line 2
class collectd::plugin::write_http (
$ensure = present,
$interval = undef,
$urls = {},
) {
validate_hash($urls)
if $::osfamily == 'Redhat' {
package { 'collectd-write_http':
ensure => $ensure,
}
}
collectd::plugin {'write_http':
ensure => $ensure,
content => template('collectd/plugin/write_http.conf.erb'),
interval => $interval,
}
}
|