From 41fb8205b68aec8a3683e1b4f53ec9de2246d504 Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 28 Feb 2017 10:36:56 +0100 Subject: [PATCH] Correction of ICMPv6 protocol name Correction of ICMPv6 protocol name from ipv6-icmp to icmpv6 --- lib/puppet/type/firewall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/type/firewall.rb b/lib/puppet/type/firewall.rb index 981fdb9..ad76ebe 100644 --- a/lib/puppet/type/firewall.rb +++ b/lib/puppet/type/firewall.rb @@ -378,7 +378,7 @@ Puppet::Type.newtype(:firewall) do *tcp*. EOS - newvalues(*[:ip, :tcp, :udp, :icmp, :"ipv6-icmp", :esp, :ah, :vrrp, :igmp, :ipencap, :ipv4, :ipv6, :ospf, :gre, :cbt, :sctp, :pim, :all].collect do |proto| + newvalues(*[:ip, :tcp, :udp, :icmp, :icmpv6, :esp, :ah, :vrrp, :igmp, :ipencap, :ipv4, :ipv6, :ospf, :gre, :cbt, :sctp, :pim, :all].collect do |proto| [proto, "! #{proto}".to_sym] end.flatten) defaultto "tcp" -- 2.45.2