add iptables
This commit is contained in:
13
manifests/firewall/iptables.pp
Normal file
13
manifests/firewall/iptables.pp
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
## 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 {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -9,6 +9,8 @@ class puppet_cd::server::service (
|
|||||||
|
|
||||||
if $fqdn == $pt_puppetmaster {
|
if $fqdn == $pt_puppetmaster {
|
||||||
|
|
||||||
|
include puppet_cd::firewall::iptables
|
||||||
|
|
||||||
# manage puppet server service
|
# manage puppet server service
|
||||||
|
|
||||||
service { $pt_service:
|
service { $pt_service:
|
||||||
|
|||||||
Reference in New Issue
Block a user