Puppet Class: monit::packetfilter
- Inherits:
- monit::params
- Defined in:
- manifests/packetfilter.pp
Overview
Class: monit::packetfilter
Open holes to the firewall to allow traffic to monit’s internal webserver.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/packetfilter.pp', line 6
class monit::packetfilter
(
$ensure,
$all_addresses_ipv4,
$bind_port
) inherits monit::params
{
# We use the resource $title to generate the source address
monit::packetfilter::allow_ip { $all_addresses_ipv4:
ensure => $ensure,
bind_port => $bind_port,
}
}
|