aboutsummaryrefslogtreecommitdiff
path: root/manifests/tcrules.pp
blob: b9ab4a9db0d34a4c976e3917df570c5a9e9f6cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define shorewall::tcrules(
    $source,
    $destination,
    $protocol = 'all',
    $ports,
    $client_ports = '',
    $order = '1'
){
    shorewall::entry { "tcrules-${order}-${name}":
        line => "# ${name}\n${order} ${source} ${destination} ${protocol} ${ports} ${client_ports}",
    }
}