2024-12-18 18:16:47 +01:00
|
|
|
## cd_nrpe::firewall::iptables.pp #
|
2017-07-28 16:49:02 +01:00
|
|
|
# Module name: cd_nrpe
|
|
|
|
|
# Author: Arne Teuke (arne_teuke@ConfDroid.com)
|
2025-05-12 16:58:52 +02:00
|
|
|
|
|
|
|
|
# @summary manage firewall settings through puppetlabs-firewall
|
2017-07-28 16:49:02 +01:00
|
|
|
###############################################################################
|
|
|
|
|
class cd_nrpe::firewall::iptables (
|
|
|
|
|
|
|
|
|
|
) inherits cd_nrpe::params {
|
|
|
|
|
if $ne_incl_fw == true {
|
2017-07-28 18:10:06 +01:00
|
|
|
firewall { "${ne_fw_order_no}${ne_nrpe_port} port ${ne_nrpe_port}":
|
2025-05-12 16:58:52 +02:00
|
|
|
# source => $nagios_server,
|
|
|
|
|
proto => 'tcp',
|
|
|
|
|
dport => $ne_nrpe_port,
|
|
|
|
|
jump => 'accept',
|
2017-07-28 16:49:02 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|