Skip to content

Commit c67274b

Browse files
committed
(GH-1156) Fix for jump/goto attributes
Attributes currently are too limited and are causing errors with chains created by fail2ban.
1 parent f705b60 commit c67274b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet/type/firewall.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@
994994
DESC
995995
},
996996
jump: {
997-
type: 'Optional[Pattern[/^[a-zA-Z0-9_]+$/]]',
997+
type: 'Optional[String[1]]',
998998
desc: <<-DESC
999999
This value for the iptables --jump parameter and the action to perform on a match. Common values are:
10001000
@@ -1022,7 +1022,7 @@
10221022
DESC
10231023
},
10241024
goto: {
1025-
type: 'Optional[Pattern[/^[a-zA-Z0-9_]+$/]]',
1025+
type: 'Optional[String[1]]',
10261026
desc: <<-DESC
10271027
The value for the iptables --goto parameter. Normal values are:
10281028

0 commit comments

Comments
 (0)