Puppet Class: nftables::rules::ldap

Defined in:
manifests/rules/ldap.pp

Summary

manage in ldap

Overview

Parameters:

  • ports (Array[Integer,1]) (defaults to: [389, 636])

    ldap server ports



3
4
5
6
7
8
9
10
# File 'manifests/rules/ldap.pp', line 3

class nftables::rules::ldap (
  Array[Integer,1] $ports = [389, 636],
) {
  nftables::rule {
    'default_in-ldap':
      content => "tcp dport {${join($ports,', ')}} accept",
  }
}