Puppet Class: role::logstash::collector7

Defined in:
modules/role/manifests/logstash/collector7.pp

Overview

vim:sw=4 ts=4 sts=4 et:

Class: role::logstash::collector7

Provisions Logstash and an Elasticsearch node to proxy requests to ELK stack Elasticsearch cluster.

Parameters:

  • $prometheus_nodes: List of prometheus nodes to allow connections from

filtertags: labs-project-deployment-prep

Parameters:

  • prometheus_nodes (Any) (defaults to: hiera('prometheus_nodes', []))


11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/logstash/collector7.pp', line 11

class role::logstash::collector7 (
    $prometheus_nodes = hiera('prometheus_nodes', []), # lint:ignore:wmf_styleguide
) {
    system::role { 'logstash::collector7':
      description => 'Logstash 7 log collector and indexer',
    }

    class { '::profile::logstash::collector7':
        prometheus_nodes => $prometheus_nodes,
    }

    include ::role::logstash::elasticsearch
    include ::profile::base::firewall

}