summaryrefslogtreecommitdiff
path: root/manifests/virtual/munin.pp
blob: 3db8b7e0603e20ad3595a3845b8b3c498a675b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define firewall::virtual::munin(
  $destination,
  $port_orig,
  $port_dest      = '',
  $order          = '400',
  $zone           = 'fw'
  $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
) {
  if $implementation == 'shorewall' {
    firewall::implementations::shorewall::virtual::munin { "${name}":
      destination => $destination,
      port_orig   => $port_orig,
      port_dest   => $port_dest,
      order       => $order,
      zone        => $zone,
    }
  }
}