Puppet Class: superset::proxy

Defined in:
modules/superset/manifests/proxy.pp

Overview

Class superset::proxy

Sets up a WMF HTTP LDAP auth proxy.



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
# File 'modules/superset/manifests/proxy.pp', line 4

class superset::proxy {

    class { '::httpd':
        modules => ['proxy_http',
                    'proxy',
                    'headers',
                    'auth_basic',
                    'authnz_ldap']
    }

    include ::passwords::ldap::production

    $proxypass = $passwords::ldap::production::proxypass

    # Set up the VirtualHost
    httpd::site { 'superset.wikimedia.org':
        content => template('superset/superset.wikimedia.org.erb'),
    }

    ferm::service { 'superset-http':
        proto  => 'tcp',
        port   => '80',
        srange => '$CACHES',
    }
}