diff --git a/.spelling b/.spelling index fd6dc64..ec130d4 100644 --- a/.spelling +++ b/.spelling @@ -81,7 +81,7 @@ cd_haproxy haproxy.cfg fqdn ACLs -contineous +continuous Jenkinsfiles Jenkinsfile SEEDjob diff --git a/manifests/firewall/iptables.pp b/manifests/firewall/iptables.pp index 2a0380c..50bb4eb 100644 --- a/manifests/firewall/iptables.pp +++ b/manifests/firewall/iptables.pp @@ -1,24 +1,21 @@ -## puppet_cd::firewwall::iptables.pp +## puppet_cd::firewall::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 { - +) inherits puppet_cd::params { + if $fqdn == $pt_pm_fqdn { firewall { '38140 open port 8140': - proto => 'tcp', - dport => '8140', - jump => 'accept', + proto => 'tcp', + dport => '8140', + jump => 'accept', } - firewall { '38443 open port 8443': - proto => 'tcp', - dport => '8443', - jump => 'accept', + proto => 'tcp', + dport => '8443', + jump => 'accept', } } }