Puppet Class: elasticsearch::debug

Defined in:
manifests/debug.pp

Overview

Class: elasticsearch::debug

Debug class for elasticsearch



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

class elasticsearch::debug {

  file { 'debug_elasticsearch':
    ensure  => $elasticsearch::manage_file,
    path    => "${settings::vardir}/debug-elasticsearch",
    mode    => '0640',
    owner   => 'root',
    group   => 'root',
    content => inline_template('<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|path|timestamp|free|.*password.*|.*psk.*|.*key)/ }.to_yaml %>'),
    noop    => $elasticsearch::noops,
  }

}