Puppet Class: collectd::plugin::nut
- Defined in:
- manifests/plugin/nut.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/plugin/nut.pp', line 2
class collectd::plugin::nut (
$ensure = 'present',
$upss = {},
) {
include collectd
collectd::plugin { 'nut':
ensure => $ensure,
}
$upss.each |String $ups| {
collectd::plugin::nut::ups { $upss:
ensure => $ensure,
}
}
}
|