Use dport instead of the new deprecated port parameter

This commit is contained in:
Roman Mueller 2015-08-29 15:08:05 +02:00
parent 908c8a82a0
commit 9ef0caa0e2

View file

@ -9,7 +9,7 @@ class puppetdb::server::firewall (
if ($open_http_port) {
firewall { "${http_port} accept - puppetdb":
port => $http_port,
dport => $http_port,
proto => 'tcp',
action => 'accept',
}
@ -17,7 +17,7 @@ class puppetdb::server::firewall (
if ($open_ssl_port) {
firewall { "${ssl_port} accept - puppetdb":
port => $ssl_port,
dport => $ssl_port,
proto => 'tcp',
action => 'accept',
}