aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorkBite <kilian.engelhardt@godaddy.com>2021-02-16 16:38:38 +0100
committerGitHub <noreply@github.com>2021-02-16 16:38:38 +0100
commit7ae636c87145c4fc8a23c1face61720dd394403b (patch)
treefd3d59f4e260a3907c02f74400c87a1593e091ba /types
parente22b12852d840869edb75ba1fbf767af75ba1b6d (diff)
parent78f059837a97186bf6843b44fdc74abff48f7ad4 (diff)
downloadpuppet-ferm-7ae636c87145c4fc8a23c1face61720dd394403b.tar.gz
puppet-ferm-7ae636c87145c4fc8a23c1face61720dd394403b.tar.bz2
Merge pull request #121 from kBite/allow-integer-protocols
Allow numeric values as protocol references
Diffstat (limited to 'types')
-rw-r--r--types/protocols.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/protocols.pp b/types/protocols.pp
index cdd76b2..1c11159 100644
--- a/types/protocols.pp
+++ b/types/protocols.pp
@@ -1,5 +1,7 @@
# @summary a list of allowed protocolls to match
type Ferm::Protocols = Variant[
+ Integer[0, 255],
+ Array[Integer[0, 255]],
Enum['icmp', 'tcp', 'udp', 'udplite', 'icmpv6', 'esp', 'ah', 'sctp', 'mh', 'all'],
Array[Enum['icmp', 'tcp', 'udp', 'udplite', 'icmpv6', 'esp', 'ah', 'sctp', 'mh', 'all']],
]