Defined Type: collectd::typesdb

Defined in:
manifests/typesdb.pp

Overview

Parameters:

  • path (Any) (defaults to: $title)
  • mode (Any) (defaults to: '0640')


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

define collectd::typesdb (
  $path = $title,
  $mode = '0640',
) {

  include ::collectd

  concat { $path:
    ensure         => present,
    owner          => 'root',
    group          => $::collectd::root_group,
    mode           => $mode,
    ensure_newline => true,
    notify         => Service['collectd'],
  }
}