Puppet Class: profile::zookeeper::firewall

Defined in:
modules/profile/manifests/zookeeper/firewall.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class profile::zookeeper::firewall::generic

Firewall rules for a zookeeper cluster.

Parameters:

  • srange (String) (defaults to: lookup('profile::zookeeper::firewall::srange'))


6
7
8
9
10
11
12
13
14
15
16
# File 'modules/profile/manifests/zookeeper/firewall.pp', line 6

class profile::zookeeper::firewall (
    String $srange = lookup('profile::zookeeper::firewall::srange'),
){

    ferm::service { 'zookeeper':
        proto  => 'tcp',
        # Zookeeper client, protocol ports
        port   => '(2181 2182 2183)',
        srange => $srange,
    }
}