3
0
Files
puppet_cd/manifests/firewall/iptables.pp
2025-02-26 01:44:56 +01:00

25 lines
623 B
Puppet

## puppet_cd::firewwall::iptables.pp
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary Class manages firewall settings for the puppet_cd module.
###############################################################################
class puppet_cd::firewall::iptables (
) inherits puppet_cd::params {
if $fqdn == $pt_puppetmaster {
firewall { '38140 open port 8140':
proto => 'tcp',
dport => '8140',
jump => 'accept',
}
firewall { '38443 open port 8443':
proto => 'tcp',
dport => '8443',
jump => 'accept',
}
}
}