summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-01-22 16:47:59 +0100
committervarac <varacanero@zeromail.org>2014-01-22 16:47:59 +0100
commite7fe6d504565b7e0234681ed500059a54739f2e3 (patch)
tree0ead40ebbaa57ff89cf7cbf2bbbc3571df33122e
parent77c5574d77267b3a92cfe35cb285c3b9eb47de32 (diff)
anonymize webapp ips (Bug #4896)
-rw-r--r--puppet/modules/site_apache/manifests/module/removeip.pp5
-rw-r--r--puppet/modules/site_webapp/manifests/apache.pp1
2 files changed, 6 insertions, 0 deletions
diff --git a/puppet/modules/site_apache/manifests/module/removeip.pp b/puppet/modules/site_apache/manifests/module/removeip.pp
new file mode 100644
index 00000000..f106167a
--- /dev/null
+++ b/puppet/modules/site_apache/manifests/module/removeip.pp
@@ -0,0 +1,5 @@
+class site_apache::module::removeip ( $ensure = present )
+{
+ package { 'libapache2-mod-removeip': ensure => $ensure }
+ apache::module { 'removeip': ensure => $ensure }
+}
diff --git a/puppet/modules/site_webapp/manifests/apache.pp b/puppet/modules/site_webapp/manifests/apache.pp
index 581922cb..d327877a 100644
--- a/puppet/modules/site_webapp/manifests/apache.pp
+++ b/puppet/modules/site_webapp/manifests/apache.pp
@@ -22,6 +22,7 @@ class site_webapp::apache {
include site_apache::module::rewrite
include site_apache::module::alias
include site_apache::module::expires
+ include site_apache::module::removeip
class { 'passenger': use_munin => false }