OP#207fix variable relationship and add firewall rule
This commit is contained in:
@@ -13,5 +13,13 @@ class confdroid_postgresql::firewall::iptables (
|
||||
dport => $pl_fw_port,
|
||||
jump => 'accept',
|
||||
}
|
||||
if $pl_use_pg_bouncer == true {
|
||||
firewall { "${pl_fw_rule_order}${pl_bouncer_port} tcp port ${pl_bouncer_port}":
|
||||
source => $pl_source_range,
|
||||
proto => 'tcp',
|
||||
dport => $pl_bouncer_port,
|
||||
jump => 'accept',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user