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, } }