Puppet Class: influxdb::params

Inherited by:
influxdb
Defined in:
manifests/params.pp

Overview



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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'manifests/params.pp', line 1

class influxdb::params {

  $version = present
  $username = 'influxdb'
  $groupname = 'influxdb'
  $config = '/etc/opt/influxdb/influxdb.conf'
  $default_file = '/etc/default/influxdb'
  $logdirectory = '/var/log/influxdb'

  # default configuration
  $config_toplevel = {
    'reporting-disabled'  => true
  }

  $config_meta = {
    'dir'                   => '/var/opt/influxdb/meta',
    'hostname'              => 'localhost',
    'bind-address'          => ':8088',
    'retention-autocreate'  => true,
    'election-timeout'      => '1s',
    'heartbeat-timeout'     => '1s',
    'leader-lease-timeout'  => '500ms',
    'commit-timeout'        => '50ms'
  }

  $config_data = {
    'dir'                       => '/var/opt/influxdb/data',
    'max-wal-size'              => 104857600,
    'wal-flush-interval'        => '10m',
    'wal-partition-flush-delay' => '2s',
    'wal-dir'                   => '/var/opt/influxdb/wal',
    'wal-enable-logging'        => true
  }

  $config_cluster = {
    'shard-writer-timeout' => '5s'
  }

  $config_retention = {
    'enabled'        => true,
    'check-interval' => '10m'
  }

  $config_admin = {
    'enabled'      => true,
    'bind-address' => ':8083'
  }

  $config_http = {
    'enabled'       => true,
    'bind-address'  => ':8086',
    'auth-enabled'  => false,
    'log-enabled'   => true,
    'write-tracing' => false,
    'pprof-enabled' => false
  }

  $config_graphite = {
    'enabled'           => false,
    'bind-address'      => ':2003',
    'protocol'          => 'tcp',
    'consistency-level' => 'one',
    'name-separator'    => '.'
  }

  $config_collectd = {
    'enabled' =>  false
  }

  $config_opentsdb = {
    'enabled' => false
  }

  $config_udp = {
    'enabled' => false
  }

  $config_monitoring = {
    'enabled'        => true,
    'write-interval' => '24h'
  }

  $config_continuous_queries = {
    'enabled'                   =>  true,
    'recompute-previous-n'      => 2,
    'recompute-no-older-than'   => '10m',
    'compute-runs-per-interval' => 10,
    'compute-no-more-than'      => '2m'
  }

  $config_hinted_handoff = {
    'enabled'          => true,
    'dir'              => '/var/opt/influxdb/hh',
    'max-size'         => 1073741824,
    'max-age'          => '168h',
    'retry-rate-limit' => 0,
    'retry-interval'   => '1s'
  }

}