summaryrefslogtreecommitdiff
path: root/manifests/tcdevices.pp
blob: f4e88d80ba845adc5ff0a2824903f57f6bcd83fa (plain)
1
2
3
4
5
6
7
8
9
10
11
define shorewall::tcdevices(
    $in_bandwidth,
    $out_bandwidth,
    $options = '',
    $redirected_interfaces = '',
    $order = '100'
){
    shorewall::entry { "tcdevices-${order}-${name}":
        line => "${name} ${in_bandwidth} ${out_bandwidth} ${options} ${redirected_interfaces}",
    }
}