Puppet Class: profile::hadoop::yarn_proxy

Defined in:
modules/profile/manifests/hadoop/yarn_proxy.pp

Overview

Class: profile::hadoop::yarn_proxy

Sets up a yarn ldap auth http proxy to the Hadoop ResourceManager web interface.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/profile/manifests/hadoop/yarn_proxy.pp', line 5

class profile::hadoop::yarn_proxy (
) {
    require profile::hadoop::httpd
    require ::profile::analytics::httpd::utils
    require ::profile::hadoop::common

    $server_name = $::realm ? {
        'production' => 'yarn.wikimedia.org',
        'labs'       => "yarn-${::labsproject}.${::site}.wmnet",
    }

    $resourcemanager_primary_host = $profile::hadoop::common::resourcemanager_hosts[0]

    class {'profile::idp::client::httpd':
        vhost_settings => { 'res_manager' => $resourcemanager_primary_host },
    }
}