Puppet Class: collectd::plugin::unixsock

Defined in:
manifests/plugin/unixsock.pp

Overview

Parameters:

  • socketfile (Stdlib::Absolutepath) (defaults to: '/var/run/collectd-unixsock')
  • socketgroup (Any) (defaults to: 'collectd')
  • socketperms (Any) (defaults to: '0770')
  • deletesocket (Any) (defaults to: false)
  • 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
# File 'manifests/plugin/unixsock.pp', line 2

class collectd::plugin::unixsock (
  Stdlib::Absolutepath $socketfile = '/var/run/collectd-unixsock',
  $socketgroup                     = 'collectd',
  $socketperms                     = '0770',
  $deletesocket                    = false,
  $ensure                          = 'present',
  $interval                        = undef,
) {
  include collectd

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