Puppet Class: role::mail::mx

Defined in:
modules/role/manifests/mail/mx.pp

Overview

filtertags: labs-project-deployment-prep

Parameters:

  • verp_domains (Any) (defaults to: [ 'wikimedia.org' ])
  • verp_post_connect_server (Any) (defaults to: 'meta.wikimedia.org')
  • verp_bounce_post_url (Any) (defaults to: 'api-rw.discovery.wmnet/w/api.php')
  • prometheus_nodes (Any) (defaults to: hiera('prometheus_nodes', []))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/role/manifests/mail/mx.pp', line 2

class role::mail::mx(
    $verp_domains = [
        'wikimedia.org'
    ],
    $verp_post_connect_server = 'meta.wikimedia.org',
    $verp_bounce_post_url = 'api-rw.discovery.wmnet/w/api.php',
    $prometheus_nodes = hiera('prometheus_nodes', []), # lint:ignore:wmf_styleguide
) {
    include network::constants
    include privateexim::aliases::private
    include ::profile::base::firewall

    system::role { 'mail::mx':
        description => 'Mail router',
    }

    class { '::profile::mail::mx':
        verp_domains             => $verp_domains,
        verp_post_connect_server => $verp_post_connect_server,
        verp_bounce_post_url     => $verp_bounce_post_url,
        prometheus_nodes         => $prometheus_nodes
    }
}