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:

  • labweb_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::labweb_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] $labweb_hosts = lookup('profile::openstack::eqiad1::labweb_hosts'),
) {
    $port = '3306'

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