Puppet Class: collectd::plugin::interface

Defined in:
manifests/plugin/interface.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • interfaces (Array) (defaults to: [])
  • ignoreselected (Boolean) (defaults to: false)
  • reportinactive (Boolean) (defaults to: true)
  • interval (Any) (defaults to: undef)


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

class collectd::plugin::interface (
  $ensure                 = 'present',
  Array $interfaces       = [],
  Boolean $ignoreselected = false,
  Boolean $reportinactive = true,
  $interval               = undef,
) {
  include collectd

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