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/masquerade.pp
7 7
  Optional[String[1]] $saddr = undef,
8 8
  Optional[String[1]] $daddr = undef,
9 9
  Optional[Enum['tcp','udp']] $proto = undef,
10
  Optional[Variant[String,Integer[1,65535]]] $dport = undef,
10
  Optional[Variant[String,Stdlib::Port]] $dport = undef,
11 11
  Enum['present','absent'] $ensure = 'present',
12 12
) {
13 13
  $oifname = $oif ? {

Formats disponibles : Unified diff