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