22 lines
680 B
Puppet
22 lines
680 B
Puppet
## cd_nagios::firewall::iptables.pp
|
|
# Module name: cd_nagios
|
|
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
|
# @summary manage firewall settings through cd_firewall or puppetlabs-firewall
|
|
###############################################################################
|
|
class cd_nagios::firewall::iptables (
|
|
|
|
) inherits cd_nagios::params {
|
|
if $::fqdn == $ng_nagios_server {
|
|
if $ng_use_https != true {
|
|
include confdroid_infrastructure::firewall::http
|
|
|
|
if $ng_use_https == true {
|
|
include confdroid_infrastructure::firewall::https
|
|
if $ng_http_https_fw == true {
|
|
include confdroid_infrastructure::firewall::http
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|