summaryrefslogtreecommitdiff
path: root/manifests/policy.pp
blob: efee05b58705b984a3a8a79218e87a20aaedb914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define shorewall::policy(
    $sourcezone,
    $destinationzone,
    $policy, $shloglevel = '-',
    $limitburst = '-',
    $order
){
    shorewall::entry{"policy-${order}-${name}":
        line => "# ${name}\n${sourcezone} ${destinationzone} ${policy} ${shloglevel} ${limitburst}",
    }
}