diff options
author | kBite <kilian.engelhardt@godaddy.com> | 2021-02-16 16:38:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 16:38:38 +0100 |
commit | 7ae636c87145c4fc8a23c1face61720dd394403b (patch) | |
tree | fd3d59f4e260a3907c02f74400c87a1593e091ba /manifests/rule.pp | |
parent | e22b12852d840869edb75ba1fbf767af75ba1b6d (diff) | |
parent | 78f059837a97186bf6843b44fdc74abff48f7ad4 (diff) | |
download | puppet-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 'manifests/rule.pp')
-rw-r--r-- | manifests/rule.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/rule.pp b/manifests/rule.pp index 611e604..49d5292 100644 --- a/manifests/rule.pp +++ b/manifests/rule.pp @@ -89,8 +89,9 @@ define ferm::rule ( } $proto_real = $proto ? { - Array => "proto (${join($proto, ' ')})", - String => "proto ${proto}", + Array => "proto (${join($proto, ' ')})", + String => "proto ${proto}", + Integer => "proto ${proto}", } if $dport =~ Array { |