Révision 94a80621
Use Stdlib::Port everywhere in place of Integer
Use Stdlib::Port in place of Integer for ports
Fixes #37
manifests/rules/snat4.pp | ||
---|---|---|
7 | 7 |
Optional[String[1]] $oif = undef, |
8 | 8 |
Optional[String[1]] $saddr = 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