Puppet Class: role::druid::analytics::worker

Defined in:
modules/role/manifests/druid/analytics/worker.pp

Overview

Class: role::druid::analytics::worker Sets up the Druid analytics cluster for internal use. This cluster may contain data not suitable for use in public APIs.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/role/manifests/druid/analytics/worker.pp', line 6

class role::druid::analytics::worker {
    system::role { 'druid::analytics::worker':
        description => "Druid worker in the analytics-${::site} cluster",
    }

    include ::standard
    include ::profile::base::firewall
    include ::profile::druid::broker
    include ::profile::druid::coordinator
    include ::profile::druid::historical
    include ::profile::druid::middlemanager
    include ::profile::druid::overlord
    include ::profile::prometheus::druid_exporter

    # Zookeeper is co-located on some analytics druid hosts, but not all.
    if $::fqdn in $::profile::druid::common::zookeeper_hosts {
        include profile::zookeeper::server
        include profile::zookeeper::firewall
    }
}