Puppet Class: role::druid::public::worker

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

Overview

Class: role::druid::public::worker Sets up the Druid public cluster for use with AQS and wikistats 2.0.



4
5
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
# File 'modules/role/manifests/druid/public/worker.pp', line 4

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

    class { '::lvs::realserver': }

    include ::profile::standard
    include ::profile::base::firewall
    include ::profile::java
    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
    include ::profile::druid::conftool

    include ::profile::kerberos::client
    include ::profile::kerberos::keytabs

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