Projet

Général

Profil

Révision 40b19655

ID40b19655a8d4ee4f67bfd1dad2765ccf290513f2
Parent df2679aa
Enfant a98c98d4

Ajouté par tr il y a plus de 4 ans

Add a in rule for icinga2

Voir les différences:

manifests/rules/icinga2.pp
1
# manage in icinga2
2
class nftables::rules::icinga2(
3
  Array[Integer,1]
4
    $ports = [5665],
5
) {
6
  nftables::filter::chain::rule{
7
    'default_in-icinga2':
8
      content => "tcp dport {${join($ports,', ')}} accept",
9
  }
10
}

Formats disponibles : Unified diff