Puppet Class: profile::prometheus::web_idp

Defined in:
modules/profile/manifests/prometheus/web_idp.pp

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/profile/manifests/prometheus/web_idp.pp', line 3

class profile::prometheus::web_idp {

    include ::profile::tlsproxy::envoy

    # IDP authenticated prometheus.wikimedia.org vhost
    profile::idp::client::httpd::site {"prometheus-${::site}.wikimedia.org":
        vhost_content    => 'profile/idp/client/httpd-prometheus.erb',
        proxied_as_https => true,
        document_root    => '/var/www/html',
        required_groups  => [
            'cn=nda,ou=groups,dc=wikimedia,dc=org',
            'cn=wmf,ou=groups,dc=wikimedia,dc=org',
        ],
    }

}