Puppet Class: collectd::plugin::aggregation

Defined in:
manifests/plugin/aggregation.pp

Overview

collectd::plugin::aggregation

Parameters:

  • ensure (Any) (defaults to: 'present')
  • interval (Any) (defaults to: undef)
  • aggregators (Any) (defaults to: { })


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

class collectd::plugin::aggregation (
  $ensure      = 'present',
  $interval    = undef,
  $aggregators = { },
) {

  include ::collectd

  collectd::plugin { 'aggregation':
    ensure   => $ensure,
    interval => $interval,
  }

  $defaults = {
    'ensure' => $ensure,
  }

  create_resources(collectd::plugin::aggregation::aggregator, $aggregators, $defaults)
}