aboutsummaryrefslogtreecommitdiff
path: root/manifests/tcclasses.pp
blob: 2126bb7861fbf09030dfdbdbc312baf33c8a94b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
define shorewall::tcclasses(
    $interface,
    $rate,
    $ceil,
    $priority,
    $options = '',
    $order = '1'
){
    shorewall::entry { "tcclasses.d/${order}-${title}":
        line => "# ${name}\n${interface} ${order} ${rate} ${ceil} ${priority} ${options}",
    }
}