Puppet Class: role::logging::opensearch::collector

Defined in:
modules/role/manifests/logging/opensearch/collector.pp

Overview

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

Class: role::logging::opensearch::collector

Provisions Collector node for a Logstash cluster.



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
# File 'modules/role/manifests/logging/opensearch/collector.pp', line 6

class role::logging::opensearch::collector {
    system::role { 'logging::opensearch::collector':
        description => 'Logstash, OpenSearch non-data node, and OpenSearch Dashboards host',
    }

    include profile::base::production
    include profile::firewall
    include profile::opensearch::logstash
    include profile::opensearch::monitoring::base_checks
    include profile::opensearch::dashboards
    include profile::opensearch::dashboards::httpd_proxy
    include profile::opensearch::dashboards::phatality
    include profile::prometheus::logstash_exporter
    include profile::benthos

    # https://phabricator.wikimedia.org/T327161
    include toil::opensearch_dashboards_restart # lint:ignore:wmf_styleguide

    if $::realm == 'production' {
        include profile::logstash::production
        include profile::tlsproxy::envoy # TLS termination
        include profile::lvs::realserver
        include profile::opensearch::api::httpd_proxy
    } else {
        include profile::logstash::beta
    }
}