summaryrefslogtreecommitdiff
path: root/manifests/shaping.pp
blob: 83558e9aec3ce9070f605e1afe146cb676270513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class firewall::shaping(
  $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
  $device         = lookup('firewall::device', undef, undef,         'eth0'),
  $in_bandwidth   = lookup('firewall::in_bandwidth', undef, undef,   '1000mbps'),
  $out_bandwidth  = lookup('firewall::out_bandwidth', undef, undef,  '1000mbps')
) {
  class { "firewall::implementations::${implementation}::shaping":
    device        => $device,
    in_bandwidth  => $in_bandwidth,
    out_bandwidth => $out_bandwidth,
  }
}