19 lines
568 B
Puppet
19 lines
568 B
Puppet
## confdroid_nrpe::firewall::iptables.pp #
|
|
# Module name: confdroid_nrpe
|
|
# Author: 12ww1160 (12ww1160@ConfDroid.com)
|
|
|
|
# @summary manage firewall settings through puppetlabs-firewall
|
|
###############################################################################
|
|
class confdroid_nrpe::firewall::iptables (
|
|
|
|
) inherits confdroid_nrpe::params {
|
|
if $ne_incl_fw == true {
|
|
firewall { "${ne_fw_order_no}${ne_nrpe_port} port ${ne_nrpe_port}":
|
|
source => $ne_nagios_source,
|
|
proto => 'tcp',
|
|
dport => $ne_nrpe_port,
|
|
jump => 'accept',
|
|
}
|
|
}
|
|
}
|