Skip to content

Commit 4d9aa74

Browse files
authored
work around puppetlabs#1186
1 parent 85c21b2 commit 4d9aa74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/firewall.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@
11891189
DESC
11901190
},
11911191
toports: {
1192-
type: 'Optional[Pattern[/^\d+(?:-\d+)?$/]]',
1192+
type: 'Optional[Variant[Integer[0, 65535], Pattern[/^\d+(?:-\d+)?$/]]]',
11931193
desc: <<-DESC
11941194
For REDIRECT/MASQUERADE this is the port that will replace the destination/source port.
11951195
Can specify a single new port or an inclusive range of ports.

0 commit comments

Comments
 (0)