Skip to content

Commit de82d15

Browse files
committed
Merge pull request #205 from roman-mueller/fix_port_deprecation
MODULES-2488 Use dport instead of the now deprecated port parameter
2 parents b79864c + 9ef0caa commit de82d15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/server/firewall.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
if ($open_http_port) {
1111
firewall { "${http_port} accept - puppetdb":
12-
port => $http_port,
12+
dport => $http_port,
1313
proto => 'tcp',
1414
action => 'accept',
1515
}
1616
}
1717

1818
if ($open_ssl_port) {
1919
firewall { "${ssl_port} accept - puppetdb":
20-
port => $ssl_port,
20+
dport => $ssl_port,
2121
proto => 'tcp',
2222
action => 'accept',
2323
}

0 commit comments

Comments
 (0)