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