Puppet Class: collectd::plugin::cgroups

Defined in:
manifests/plugin/cgroups.pp

Overview

Parameters:

  • cgroups (Array) (defaults to: [])
  • ensure (Enum['present', 'absent']) (defaults to: 'present')
  • ignore_selected (Boolean) (defaults to: false)
  • interval (Optional[Integer[1]]) (defaults to: undef)


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

class collectd::plugin::cgroups (
  Array $cgroups                    = [],
  Enum['present', 'absent'] $ensure = 'present',
  Boolean $ignore_selected          = false,
  Optional[Integer[1]] $interval    = undef,
) {
  include collectd

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