add service and iptables
This commit is contained in:
@@ -9,5 +9,16 @@ class puppet_cd::firewall::iptables (
|
|||||||
|
|
||||||
if $fqdn == $pt_puppetmaster {
|
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',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user