]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker update rewrite literal
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 8 Jan 2018 13:24:40 +0000 (14:24 +0100)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 8 Jan 2018 13:24:40 +0000 (14:24 +0100)
customer/spk-spar-checker/test.yaml

index 097eff4112d085081466c36d235338466e8c9915..1a16d7c362f5f99ea28fd1e1713d3b5b21304c8a 100644 (file)
@@ -10,7 +10,7 @@ infra::additional_classes:
 # mysql::server::config_file: "/etc/my.cnf"             # required forproper MySQL installation
 
 apache::log_formats:
-  spk_combined: '%%{ich-trickse}{X-Forwarded-For}i %a %l %u %t \"%r\" %>s %b \"%%{ich-trickse}{Referer}i\" \"%%{ich-trickse}{User-Agent}i\"'
+  spk_combined: '%{literal('%')}{X-Forwarded-For}i %a %l %u %t \"%r\" %>s %b \"%{literal('%')}{Referer}i\" \"%{literal('%')}{User-Agent}i\"'
 
 mysql::server::users:
   'replication@%':
@@ -135,7 +135,7 @@ infra::profile::apache::pp_vhosts:
         rewrites:
           - comment: 'frontend root rewrite'
             rewrite_cond:
-              - '%%{ich-trickse}{REQUEST_URI} ^/$'
+              - '%{literal('%')}{REQUEST_URI} ^/$'
             rewrite_rule:
               - '.* /index.html [END]'
           - comment: 'frontend rewrites'
@@ -227,12 +227,12 @@ infra::profile::apache::pp_vhosts:
     rewrites:
       - comment: 'http to https'
         rewrite_cond:
-          - '%%{ich-trickse}{HTTP:HTTPS} !=on'
+          - '%{literal('%')}{HTTP:HTTPS} !=on'
         rewrite_rule:
           - '^(.*)$ https://stage-spar-checker-de.pixelpark.net$1 [R=301,L]'
       - comment: 'Alle Aliase auf Servername'
         rewrite_cond:
-          - '%%{ich-trickse}{HTTP_HOST} !^stage-spar-checker-de.pixelpark.net$ [NC]'
+          - '%{literal('%')}{HTTP_HOST} !^stage-spar-checker-de.pixelpark.net$ [NC]'
         rewrite_rule:
           - '^(.*)$ https://stage-spar-checker-de.pixelpark.net$1 [R=301,L]'