Puppet Class: nftables::rules::puppet

Defined in:
manifests/rules/puppet.pp

Summary

manage in puppet

Overview

Parameters:

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

    puppet server ports



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

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