diff options
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 853456f..7543d1a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -166,7 +166,7 @@ class firewall( # # Traffic shapping # - shorewall::tcdevices { "eth0": + shorewall::tcdevices { "${device}": in_bandwidth => "$in_bandwidth", out_bandwidth => "$out_bandwidth", } @@ -189,7 +189,7 @@ class firewall( shorewall::tcclasses { "ssh": order => "1", - interface => "eth0", + interface => "${device}", rate => "4*full/100", ceil => "full", priority => "1", @@ -197,7 +197,7 @@ class firewall( shorewall::tcclasses { "default": order => "2", - interface => "eth0", + interface => "${device}", rate => "6*full/100", ceil => "full", priority => "2", |