Puppet Class: profile::mariadb::ferm_wmcs

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

Summary

Permits access for the cloudweb hosts to access the striker

Overview

database.

Parameters:

  • cloudweb_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::cloudweb_hosts'))


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

class profile::mariadb::ferm_wmcs (
    Array[Stdlib::Fqdn] $cloudweb_hosts = lookup('profile::openstack::eqiad1::cloudweb_hosts'),
) {
    $port = '3306'

    ferm::service { 'labweb':
        proto   => 'tcp',
        port    => $port,
        notrack => true,
        srange  => $cloudweb_hosts,
    }
}