summaryrefslogtreecommitdiff
path: root/manifests/policy4.pp
blob: 301d9af9664cf3c1af29ec1ed575ac88e37706a3 (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/manpages/shorewall-policy.html
define shorewall::policy4(
  $sourcezone,
  $destinationzone,
  $policy,
  $order,
  $shloglevel = '-',
  $limitburst = '-',
){
  shorewall::policy{
    $name:
      sourcezone      => $sourcezone,
      destinationzone => $destinationzone,
      policy          => $policy,
      order           => $order,
      shloglevel      => $shloglevel,
      limitburst      => $limitburst,
      shorewall       => true,
      shorewall6      => false,
  }
}