]> gitweb.fluxo.info Git - puppet-firewall.git/commitdiff
Renaming eth0_options to device_options
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Sep 2014 19:28:06 +0000 (16:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Sep 2014 19:28:06 +0000 (16:28 -0300)
manifests/init.pp

index c76b2919c38259770a9826d1bcc9aee27490dbd5..2052a99dedbb8e12167c1385c8218fce30e9eb82 100644 (file)
@@ -1,9 +1,9 @@
 # Firewall definitions for physical servers
 class firewall(
-  $local_net     = hiera('firewall::local_net',     false),
-  $in_bandwidth  = hiera('firewall::in_bandwidth',  '2mbit'),
-  $out_bandwidth = hiera('firewall::out_bandwidth', '2mbit'),
-  $eth0_options  = hiera('firewall::eth0_options',  'tcpflags,blacklist,routefilter,nosmurfs,logmartians')
+  $local_net       = hiera('firewall::local_net',      false),
+  $in_bandwidth    = hiera('firewall::in_bandwidth',   '2mbit'),
+  $out_bandwidth   = hiera('firewall::out_bandwidth',  '2mbit'),
+  $device_options  = hiera('firewall::device_options', 'tcpflags,blacklist,routefilter,nosmurfs,logmartians')
 ) {
   class { 'shorewall': }
 
@@ -19,7 +19,7 @@ class firewall(
   shorewall::interface { 'eth0':
    zone    => '-',
    rfc1918 => $rfc1918,
-   options => $eth0_options,
+   options => $device_options,
   }
 
   #