Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / manifests / rules / icinga2.pp @ 0b7bcb5d

Historique | Voir | Annoter | Télécharger (259 octets)

1 09cba182 Steve Traylen
# @summary manage in icinga2
2
# @param ports Specify ports for icinga1
3 11bf7237 Steve Traylen
class nftables::rules::icinga2 (
4 94a80621 Steve Traylen
  Array[Stdlib::Port,1] $ports = [5665],
5 40b19655 tr
) {
6 11bf7237 Steve Traylen
  nftables::rule {
7 40b19655 tr
    'default_in-icinga2':
8
      content => "tcp dport {${join($ports,', ')}} accept",
9
  }
10
}