Puppet Class: collectd::plugin::hddtemp

Defined in:
manifests/plugin/hddtemp.pp

Overview

Parameters:

  • host (Any) (defaults to: '127.0.0.1')
  • port (Any) (defaults to: 7634)
  • ensure (Any) (defaults to: 'present')
  • interval (Any) (defaults to: undef)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/plugin/hddtemp.pp', line 2

class collectd::plugin::hddtemp (
  $host     = '127.0.0.1',
  $port     = 7634,
  $ensure   = 'present',
  $interval = undef,
) {

  include ::collectd

  validate_integer($port)

  collectd::plugin { 'hddtemp':
    ensure   => $ensure,
    content  => template('collectd/plugin/hddtemp.conf.erb'),
    interval => $interval,
  }
}