diff options
author | varac <varacanero@zeromail.org> | 2014-01-22 16:47:59 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-01-22 16:47:59 +0100 |
commit | e7fe6d504565b7e0234681ed500059a54739f2e3 (patch) | |
tree | 0ead40ebbaa57ff89cf7cbf2bbbc3571df33122e /puppet | |
parent | 77c5574d77267b3a92cfe35cb285c3b9eb47de32 (diff) |
anonymize webapp ips (Bug #4896)
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_apache/manifests/module/removeip.pp | 5 | ||||
-rw-r--r-- | puppet/modules/site_webapp/manifests/apache.pp | 1 |
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 } |