Puppet Class: collectd::plugin::tail

Defined in:
manifests/plugin/tail.pp

Overview

Parameters:

  • interval (Any) (defaults to: undef)
  • files (Any) (defaults to: undef)


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

class collectd::plugin::tail (
  $interval = undef,
  $files = undef,
) {

  if $files { validate_hash($files) }

  collectd::plugin { 'tail':
    interval => $interval,
  }

  if $files {
    create_resources(collectd::plugin::tail::file, $files)
  }
}