summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2017-02-10 13:08:12 -0800
committerMatt Taggart <taggart@riseup.net>2017-02-10 13:08:12 -0800
commit8552753d9e3ab7662e618c54875e626a2b6926e9 (patch)
tree711e4aa6edee54c298bd44d6e8cbf9436bcd02c4 /manifests
parent054ccc9e8ee0a03e98165ee44f113ce7ccf3bc5c (diff)
remove deprecated blacklist
the blacklist file was deprecated by upstream in 4.5.7, remove all references to them. Debian wheezy shipped with 4.5.5.3-3 (but could use a backport) and jessie has 4.6.4.3-2 currently.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/blacklist.pp9
-rw-r--r--manifests/blrules.pp4
-rw-r--r--manifests/host.pp2
-rw-r--r--manifests/init.pp5
-rw-r--r--manifests/interface.pp2
5 files changed, 4 insertions, 18 deletions
diff --git a/manifests/blacklist.pp b/manifests/blacklist.pp
deleted file mode 100644
index afbe216..0000000
--- a/manifests/blacklist.pp
+++ /dev/null
@@ -1,9 +0,0 @@
-define shorewall::blacklist(
- $proto = '-',
- $port = '-',
- $order='100'
-){
- shorewall::entry{"blacklist-${order}-${name}":
- line => "${name} ${proto} ${port}",
- }
-}
diff --git a/manifests/blrules.pp b/manifests/blrules.pp
index b8fe73f..d6b5550 100644
--- a/manifests/blrules.pp
+++ b/manifests/blrules.pp
@@ -5,11 +5,11 @@
# shorewall::interface { 'br0':
# zone => 'net',
# rfc1918 => true,
-# options => 'tcpflags,blacklist,nosmurfs,routeback,bridge';
+# options => 'tcpflags,nosmurfs,routeback,bridge';
# }
#
# class { 'shorewall::blrules':
-# options => 'tcpflags,blacklist,nosmurfs,routeback,bridge',
+# options => 'tcpflags,nosmurfs,routeback,bridge',
# whitelists => [
# "net:10.0.0.1,192.168.0.1 all",
# ],
diff --git a/manifests/host.pp b/manifests/host.pp
index f400223..370be03 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -1,6 +1,6 @@
define shorewall::host(
$zone,
- $options = 'tcpflags,blacklist,norfc1918',
+ $options = 'tcpflags,norfc1918',
$order='100'
){
shorewall::entry{"hosts-${order}-${name}":
diff --git a/manifests/init.pp b/manifests/init.pp
index d6b2d2a..5e2da52 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,8 +27,6 @@ class shorewall(
$proxyarp_defaults = {},
$nat = {},
$nat_defaults = {},
- $blacklist = {},
- $blacklist_defaults = {},
$rfc1918 = {},
$rfc1918_defaults = {},
$routestopped = {},
@@ -76,8 +74,6 @@ class shorewall(
'proxyarp',
# See http://www.shorewall.net/3.0/Documentation.htm#NAT
'nat',
- # See http://www.shorewall.net/3.0/Documentation.htm#Blacklist
- 'blacklist',
# See http://www.shorewall.net/3.0/Documentation.htm#rfc1918
'rfc1918',
# See http://www.shorewall.net/3.0/Documentation.htm#Routestopped
@@ -110,7 +106,6 @@ class shorewall(
create_resources('shorewall::masq',$masq,$masq_defaults)
create_resources('shorewall::proxyarp',$proxyarp,$proxyarp_defaults)
create_resources('shorewall::nat',$nat,$nat_defaults)
- create_resources('shorewall::blacklist',$blacklist,$blacklist_defaults)
create_resources('shorewall::rfc1918',$rfc1918,$rfc1918_defaults)
create_resources('shorewall::routestopped',$routestopped,
$routestopped_defaults)
diff --git a/manifests/interface.pp b/manifests/interface.pp
index 403ee74..b3d66c6 100644
--- a/manifests/interface.pp
+++ b/manifests/interface.pp
@@ -1,7 +1,7 @@
define shorewall::interface(
$zone,
$broadcast = 'detect',
- $options = 'tcpflags,blacklist,routefilter,nosmurfs,logmartians',
+ $options = 'tcpflags,routefilter,nosmurfs,logmartians',
$add_options = '',
$rfc1918 = false,
$dhcp = false,