Skip to content

Commit 2c1a0aa

Browse files
authored
Merge pull request #1240 from span786/CAT-2088-allow-colon-in-iptables-syntax
2 parents aa97e7b + 9e08da4 commit 2c1a0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/firewall.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@
948948
DESC
949949
},
950950
ipset: {
951-
type: 'Optional[Variant[Pattern[/^(?:!\s)?[\w\-_]+\s(?:src|dst)(?:,src|,dst)?$/], Array[Pattern[/^(?:!\s)?[\w\-_]+\s(?:src|dst)(?:,src|,dst)?$/]]]]',
951+
type: 'Optional[Variant[Pattern[/^(?:!\s)?[\w\-:_]+\s(?:src|dst)(?:,src|,dst)?$/], Array[Pattern[/^(?:!\s)?[\w\-:_]+\s(?:src|dst)(?:,src|,dst)?$/]]]]',
952952
desc: <<-DESC
953953
Matches against the specified ipset list.
954954
Requires ipset kernel module. Will accept a single element or an array.

0 commit comments

Comments
 (0)