Puppet Class: profile::mariadb::ferm_lists

Defined in:
modules/profile/manifests/mariadb/ferm_lists.pp

Overview

Firewall rules for the misc db host used by lists.wikimedia.org (Mailman). See T256538#6943696, T278614#7023029 for history.

Parameters:

  • mailman_primary_host (Stdlib::Fqdn) (defaults to: lookup('lists_primary_host'))


3
4
5
6
7
8
9
10
11
12
# File 'modules/profile/manifests/mariadb/ferm_lists.pp', line 3

class profile::mariadb::ferm_lists (
    Stdlib::Fqdn $mailman_primary_host = lookup('lists_primary_host'),
) {
    firewall::service { 'mailman3':
        proto   => 'tcp',
        port    => 3306,
        notrack => true,
        srange  => [$mailman_primary_host],
    }
}