Puppet Class: collectd::plugin::thermal
- Defined in:
- manifests/plugin/thermal.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/plugin/thermal.pp', line 2
class collectd::plugin::thermal (
$devices = [],
$ensure = 'present',
$ignoreselected = false,
$interval = undef,
) {
include ::collectd
validate_array($devices)
validate_bool($ignoreselected)
collectd::plugin { 'thermal':
ensure => $ensure,
content => template('collectd/plugin/thermal.conf.erb'),
interval => $interval,
}
}
|