Puppet Class: influxdb::config

Defined in:
manifests/config.pp

Overview

Parameters:

  • ensure (Any) (defaults to: $::influxdb::ensure)
  • username (Any) (defaults to: $::influxdb::username)
  • groupname (Any) (defaults to: $::influxdb::groupname)
  • logdirectory (Any) (defaults to: $::influxdb::logdirectory)
  • config_toplevel (Any) (defaults to: $::influxdb::config_toplevel)
  • config_meta (Any) (defaults to: $::influxdb::config_meta)
  • config_data (Any) (defaults to: $::influxdb::config_data)
  • config_cluster (Any) (defaults to: $::influxdb::config_cluster)
  • config_retention (Any) (defaults to: $::influxdb::config_retention)
  • config_admin (Any) (defaults to: $::influxdb::config_admin)
  • config_http (Any) (defaults to: $::influxdb::config_http)
  • config_graphite (Any) (defaults to: $::influxdb::config_graphite)
  • config_collectd (Any) (defaults to: $::influxdb::config_collectd)
  • config_opentsdb (Any) (defaults to: $::influxdb::config_opentsdb)
  • config_udp (Any) (defaults to: $::influxdb::config_udp)
  • config_monitoring (Any) (defaults to: $::influxdb::config_monitoring)
  • config_continuous_queries (Any) (defaults to: $::influxdb::config_continuous_queries)
  • config_hinted_handoff (Any) (defaults to: $::influxdb::config_hinted_handoff)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'manifests/config.pp', line 1

class influxdb::config (
  $ensure                    = $::influxdb::ensure,
  $username                  = $::influxdb::username,
  $groupname                 = $::influxdb::groupname,
  $logdirectory              = $::influxdb::logdirectory,
  $config_toplevel           = $::influxdb::config_toplevel,
  $config_meta               = $::influxdb::config_meta,
  $config_data               = $::influxdb::config_data,
  $config_cluster            = $::influxdb::config_cluster,
  $config_retention          = $::influxdb::config_retention,
  $config_admin              = $::influxdb::config_admin,
  $config_http               = $::influxdb::config_http,
  $config_graphite           = $::influxdb::config_graphite,
  $config_collectd           = $::influxdb::config_collectd,
  $config_opentsdb           = $::influxdb::config_opentsdb,
  $config_udp                = $::influxdb::config_udp,
  $config_monitoring         = $::influxdb::config_monitoring,
  $config_continuous_queries = $::influxdb::config_continuous_queries,
  $config_hinted_handoff     = $::influxdb::config_hinted_handoff
) {

  file { $::influxdb::params::default_file:
    ensure  => $ensure,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => template("${module_name}/default.erb")
  }

  file { $::influxdb::params::config:
    ensure  => $ensure,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => template("${module_name}/influxdb.conf.erb")
  }

}