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