Projet

Général

Profil

Révision cb50fd79

IDcb50fd798cf2ef7852c9953b5ea7ebe97ee9d1a9
Parent e105f149
Enfant 8227cb1c

Ajouté par tr il y a plus de 4 ans

Add rule in node_exporter

Voir les différences:

manifests/rules/node_exporter.pp
1
# manage in node exporter
2
class nftables::rules::node_exporter(
3
  Variant[String,Array[String,1]]
4
    $prometheus,
5
  Integer
6
    $puppetserver_port = 9100,
7
) {
8
  nftables::rule{
9
    'default_in-node_exporter':
10
      content => "tcp dport {${join($ports,', ')}} accept",
11
  }
12
}

Formats disponibles : Unified diff