]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
FBBKERNSERV-305 mod_remote_ip test
authorsambufe <samuel.bufe@publicispixelpark.de>
Thu, 20 Jul 2017 14:46:20 +0000 (16:46 +0200)
committersambufe <samuel.bufe@publicispixelpark.de>
Thu, 20 Jul 2017 14:46:20 +0000 (16:46 +0200)
customer/fbb-orat/test.yaml
customer/fbb-www/test.yaml

index 7c0e87fa4498313d51fec34476a8b328e3b8078b..616739d6fca5c4aaf7148f8ca97531307002b013 100644 (file)
@@ -32,8 +32,8 @@ sudo::configs:
       jenkins ALL=(apache) NOPASSWD: ALL
 
 apache::mod::remoteip::proxy_ips:
-  - '192.168.166.252'
-  - '192.168.166.253'
+  - '192.168.168.253'
+  - '192.168.168.254'
 
 infra::profile::wordpress::projects:
   orat:
index 83b4ef7d2c2fb864fd5e24ab7a0583a4ef9fd8f3..ba774c4d411c61b96cd00693b736705a0e186fcd 100644 (file)
@@ -6,6 +6,7 @@ infra::additional_classes:
   - infra::profile::postfix
   - infra::profile::cron
   - infra::profile::clamav
+  - apache::mod::remoteip
 
 accounts::users:
   #pixelpark
@@ -151,6 +152,10 @@ sudo::configs:
       florian.dorrer ALL=(unitb.cron) NOPASSWD: ALL
       felix.maier ALL=(unitb.cron) NOPASSWD: ALL
 
+apache::mod::remoteip::proxy_ips:
+  - 192.168.65.253
+  - 192.168.65.254
+
 infra::profile::cron::cronjobs:
   flugplan-import:
     command: '/bin/bash /opt/app/web_alt/flugplan/SH_Sources/poll.sh >> /var/log/unitb/flugplan-import.log 2>> /var/log/unitb/flugplan-import.log'
@@ -284,7 +289,7 @@ infra::profile::apache::pp_vhosts:
     ssl: false
     docroot_owner: apache
     docroot_group: apache
-    access_log_format: lb_combined
+    access_log_format: remote_combined
     setenvif:
       - 'HTTPS on X-Forwarded-Proto=https'
       - 'HTTPS on HTTPS=on'
@@ -313,7 +318,7 @@ infra::profile::apache::pp_vhosts:
     docroot_owner: web
     docroot_group: fbb
     docroot_mode: '0775'
-    access_log_format: lb_combined
+    access_log_format: remote_combined
     setenvif:
       - 'HTTPS on X-Forwarded-Proto=https'
       - 'HTTPS on HTTPS=on'
@@ -341,7 +346,7 @@ infra::profile::apache::pp_vhosts:
     ssl: false
     docroot_owner: presse.upload
     docroot_group: fbb
-    access_log_format: lb_combined
+    access_log_format: remote_combined
     setenvif:
       - 'HTTPS on X-Forwarded-Proto=https'
       - 'HTTPS on HTTPS=on'
@@ -374,7 +379,7 @@ infra::profile::apache::pp_vhosts:
     docroot_group: apache
     #wird benoetigt weil die docroot auf einen symlink zeigt
     manage_docroot: false
-    access_log_format: lb_combined
+    access_log_format: remote_combined
     setenvif:
       - 'HTTPS on X-Forwarded-Proto=https'
       - 'HTTPS on HTTPS=on'
@@ -407,7 +412,7 @@ infra::profile::apache::pp_vhosts:
     #wird benoetigt weil die docroot auf einen symlink zeigt
     manage_docroot: false
     default_vhost: true
-    access_log_format: lb_combined
+    access_log_format: remote_combined
     setenv:
       - AIRLINE_DATA /www/data/fiona/app/online/docs/_airlines/index.php
       - POI_CMS_EXPORT_FILE /www/data/fiona/app/online/docs/poiExport/index.php