Defined Type: profile::microsites::query_service::site

Defined in:
modules/profile/manifests/microsites/query_service/site.pp

Overview

SPDX-License-Identifier: Apache-2.0 A single site served by Wikibase Query Service GUI, including its monitoring

$domain_name - The domain name to respond to $deploy_name - Name used to find site specific assets in deployment.

Parameters:

  • domain_name (String)
  • deploy_name (String) (defaults to: $title)


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
31
32
# File 'modules/profile/manifests/microsites/query_service/site.pp', line 6

define profile::microsites::query_service::site(
    String $domain_name,
    String $deploy_name = $title
) {
    httpd::site { $domain_name:
        content => template('profile/query_service/httpd.erb')
    }

    prometheus::blackbox::check::http { $domain_name:
        server_name => $domain_name,
        team        => 'search-platform',
        severity    => 'task',
        path        => '/',
        force_tls   => true,
        ip_families => [ip4],
    }

    prometheus::blackbox::check::http { "${domain_name}-collab":
        server_name => $domain_name,
        team        => 'collaboration-services',
        severity    => 'task',
        path        => '/',
        force_tls   => true,
        ip_families => [ip4],
    }

}