Projet

Général

Profil

Révision 94a80621

ID94a806213c2c7e0ce69d7be48ee88fca969db6cb
Parent b1085d8d
Enfant 5d71ec69

Ajouté par Steve Traylen il y a plus de 4 ans

Use Stdlib::Port everywhere in place of Integer

Use Stdlib::Port in place of Integer for ports

Fixes #37

Voir les différences:

manifests/rules/node_exporter.pp
1 1
# manage in node exporter
2 2
class nftables::rules::node_exporter (
3 3
  Optional[Variant[String,Array[String,1]]] $prometheus_server = undef,
4
  Integer $port = 9100,
4
  Stdlib::Port $port = 9100,
5 5
) {
6 6
  if $prometheus_server {
7 7
    any2array($prometheus_server).each |$index,$prom| {

Formats disponibles : Unified diff