From: mh Date: Mon, 28 Sep 2009 21:15:40 +0000 (+0200) Subject: use the more generall http term for rules for apache X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b28f0465ddf70fe5f35725a5b8ae3b38737eb5c5;p=puppet-shorewall.git use the more generall http term for rules for apache --- diff --git a/manifests/rules/apache.pp b/manifests/rules/http.pp similarity index 88% rename from manifests/rules/apache.pp rename to manifests/rules/http.pp index ca3f7d1..e6a9bde 100644 --- a/manifests/rules/apache.pp +++ b/manifests/rules/http.pp @@ -1,4 +1,4 @@ -class shorewall::rules::apache { +class shorewall::rules::http { shorewall::rule { 'net-me-http-tcp': source => 'net', destination => '$FW', diff --git a/manifests/rules/http/disable.pp b/manifests/rules/http/disable.pp new file mode 100644 index 0000000..5b54740 --- /dev/null +++ b/manifests/rules/http/disable.pp @@ -0,0 +1,5 @@ +class shorewall::rules::http::disable inherits shorewall::http { + Shorewall::Rule['net-me-http-tcp']{ + action => 'DROP', + } +} diff --git a/manifests/rules/apache/ssl.pp b/manifests/rules/https.pp similarity index 87% rename from manifests/rules/apache/ssl.pp rename to manifests/rules/https.pp index d27c980..cc49d10 100644 --- a/manifests/rules/apache/ssl.pp +++ b/manifests/rules/https.pp @@ -1,4 +1,4 @@ -class shorewall::rules::apache::ssl { +class shorewall::rules::https { shorewall::rule { 'net-me-https-tcp': source => 'net', destination => '$FW',