Puppet Class: telegraf::config

Defined in:
manifests/config.pp

Overview

Class: telegraf::config

only values which are effectivly changed will be managed

More information on these settings available at:

https://github.com/influxdata/telegraf

Authors

Roman Plessl <roman.plessl@prunux.ch>

Copyright 2015 Roman Plessl, Plessl + Burkhardt GmbH



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'manifests/config.pp', line 16

class telegraf::config {

  file { $::telegraf::config_base_file:
    ensure  => file,
    content => template($::telegraf::config_template),
    mode    => '0644',
    owner   => 'root',
    group   => 'telegraf',
  }

  file { $::telegraf::config_directory:
    ensure => directory,
    mode   => '0755',
    owner  => 'root',
    group  => 'telegraf',
  }

}