Puppet Class: kibana::config

Defined in:
manifests/config.pp

Overview

This class is called from kibana to configure the daemon’s configuration file. It is not meant to be called directly.

Author:

  • Tyler Langlois <tyler.langlois@elastic.co>



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/config.pp', line 7

class kibana::config {
  $_ensure = $kibana::ensure ? {
    'absent' => $kibana::ensure,
    default  => 'file',
  }
  $config = $kibana::config

  file { '/etc/kibana/kibana.yml':
    ensure  => $_ensure,
    content => template("${module_name}/etc/kibana/kibana.yml.erb"),
    owner   => 'kibana',
    group   => 'kibana',
    mode    => '0660',
  }
}