From: Kilian Engelhardt Date: Thu, 4 Feb 2021 18:00:44 +0000 (+0100) Subject: add Integer as data type to rule.pp's selector statement X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=78f059837a97186bf6843b44fdc74abff48f7ad4;p=puppet-ferm.git add Integer as data type to rule.pp's selector statement --- 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 {