]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker customize log_format
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 13 Nov 2017 13:12:49 +0000 (14:12 +0100)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 13 Nov 2017 13:12:49 +0000 (14:12 +0100)
customer/spk-spar-checker/test.yaml

index b3fe285823b73c1725b90f9c4390de006f3283e9..bff14575c2d7294017c52b48013090602b483d0f 100644 (file)
@@ -3,7 +3,6 @@ infra::additional_classes:
   - infra::profile::apache_php
   - infra::profile::mysql_server
   - infra::profile::cron
-#  - apache::mod::remoteip
 
 # mysql::client::package_name: "mysql-community-client" # required forproper MySQL installation
 # mysql::server::package_name: "mysql-community-server" # required forproper MySQL installation
@@ -45,9 +44,8 @@ infra::profile::apache::pp_vhosts:
     docroot_group: apache
     docroot_mode: '0750'
     access_log_format: spk_combined
-#    access_log_format: remote_combined
-apache::log_formats:
-  spk_combined: '%a %%{ich-trickse}{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%%{ich-trickse}{Referer}i\" \"%%{ich-trickse}{User-Agent}i\"'
+    apache::log_formats:
+      spk_combined: '%a %%{ich-trickse}{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%%{ich-trickse}{Referer}i\" \"%%{ich-trickse}{User-Agent}i\"'
 
     headers:
       - 'always set X-XSS-Protection "1; mode=block"'