aboutsummaryrefslogtreecommitdiff
path: root/manifests/policy.pp
blob: aab6f7abfdf618b1fe0922913f544480236d42e5 (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.d/${order}-${title}":
        line => "# ${name}\n${sourcezone} ${destinationzone} ${policy} ${shloglevel} ${limitburst}",
    }
}