aboutsummaryrefslogtreecommitdiff
path: root/manifests/tcrules.pp
blob: a888d203377b22e06116c76426e49a0aa1ecc247 (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.d/${order}-${title}":
        line => "# ${name}\n${order} ${source} ${destination} ${protocol} ${ports} ${client_ports}",
    }
}