Puppet Class: profile::zookeeper::firewall

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

Overview

Class profile::zookeeper::firewall::generic

Firewall rules for a zookeeper cluster.

Parameters:

  • srange (Any) (defaults to: hiera('profile::zookeeper::firewall::srange'))


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

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