Puppet Class: nftables::rules::icinga2

Defined in:
manifests/rules/icinga2.pp

Summary

manage in icinga2

Overview

Parameters:

  • ports (Array[Stdlib::Port,1]) (defaults to: [5665])

    Specify ports for icinga2



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

class nftables::rules::icinga2 (
  Array[Stdlib::Port,1] $ports = [5665],
) {
  nftables::rule {
    'default_in-icinga2':
      content => "tcp dport {${join($ports,', ')}} accept",
  }
}