summaryrefslogtreecommitdiff
path: root/manifests/policy6.pp
blob: 1a4735fa156ef37d567a4f90c612884ccc615510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# http://www.shorewall.net/manpages6/shorewall6-policy.html
define shorewall::policy6(
  $sourcezone,
  $destinationzone,
  $policy,
  $order,
  $shloglevel = '-',
  $limitburst = '-',
){
  shorewall::policy{
    $name:
      sourcezone      => $sourcezone,
      destinationzone => $destinationzone,
      policy          => $policy,
      order           => $order,
      shloglevel      => $shloglevel,
      limitburst      => $limitburst,
      shorewall       => false,
      shorewall6      => true,
  }
}