---
+accounts::users:
+ christian.heggemann:
+ apply: true
+ sudo: true
+ dirk-peter.krause:
+ apply: true
+ sudo: true
+ jenkins:
+ apply: true
+ sudo: true
+
infra::role: base
+infra::additional_classes:
+ - infra::profile::apache
+ - apache::mod::proxy_ajp
+ - apache::mod::headers
+ - apache::mod::remoteip
+
+apache::mod:proxy:
+ proxy_via: 'Off'
+
+apache::default_vhost: false
+
+infra::profile::apache::pp_vhosts:
+ int-cms:
+ docroot: '/var/lib/tomcat/catalina/odt-cms/webapps/ROOT'
+ docroot_owner: tomcat
+ docroot_group: tomcat
+ servername: int-cms-odt-daimler-com.pixelpark.net
+ ssl: true
+ ip: 93.188.107.242
+ cert_servername: 'wildcard.pixelpark.net'
+ cert_customer: 'pixelpark'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ custom_fragment: |
+ ProxyTimeout 3600
+ rewrites:
+ rewrites_non_ssl:
+ - opencms_to_slash_http:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ http://localhost:8080/opencms/$1 [P,L]'
+ - https:
+ comment: 'all to https'
+ rewrite_rule:
+ - '^/system/(.*)$ https://int-cms-odt-daimler-com.pixelpark.net/system/$1 [L,R=301]'
+ - login:
+ rewrite_rule:
+ - '^(/)?$ https://int-cms-odt-daimler-com.pixelpark.net/system/login [L,R=301]'
+ - proxy_non_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8080/opencms$1 [P,L]'
+ - 404handler_non_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8080/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ rewrites_ssl:
+ - opencms_to_slash_https:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ http://localhost:8081/opencms/$1 [P,L]'
+ - proxy_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8081/opencms$1 [P,L]'
+ - 404handle_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8081/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ proxy_preserve_host: true
+ int-mb:
+ docroot: '/var/lib/tomcat/catalina/odt-cms/webapps/ROOT'
+ docroot_owner: tomcat
+ docroot_group: tomcat
+ servername: int-newsletter-mercedes-benz-de.pixelpark.net
+ ssl: true
+ ip: 93.188.107.242
+ cert_servername: 'wildcard.pixelpark.net'
+ cert_customer: 'pixelpark'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ rewrites_non_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.mercedes-benz.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://int-newsletter-mercedes-benz-de.pixelpark.net$1 [R=301,L,QSA,NE]'
+ - proxy_non_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8082/opencms$1 [P,L]'
+ - 404handler_non_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8082/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ rewrites_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.mercedes-benz.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - proxy_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8083/opencms$1 [P,L]'
+ - 404handle_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8083/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ proxy_preserve_host: true
+ int-smart:
+ docroot: '/var/lib/tomcat/catalina/odt-cms/webapps/ROOT'
+ docroot_owner: tomcat
+ docroot_group: tomcat
+ servername: int-newsletter-smart-de.pixelpark.net
+ ssl: true
+ ip: 93.188.107.242
+ cert_servername: 'wildcard.pixelpark.net'
+ cert_customer: 'pixelpark'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ rewrites_non_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.smart.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://int-newsletter-smart-de.pixelpark.net$1 [R=301,L,QSA,NE]'
+ - proxy_non_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8084/opencms$1 [P,L]'
+ - 404handler_non_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8084/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ rewrites_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.smart.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - proxy_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8085/opencms$1 [P,L]'
+ - 404handle_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8085/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ proxy_preserve_host: true
+ int-tw:
+ docroot: '/var/lib/tomcat/catalina/odt-cms/webapps/ROOT'
+ docroot_owner: tomcat
+ docroot_group: tomcat
+ servername: int-newsletter-truckworks-de.pixelpark.net
+ ssl: true
+ ip: 93.188.107.242
+ cert_servername: 'wildcard.pixelpark.net'
+ cert_customer: 'pixelpark'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ rewrites_non_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.truckworks.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://int-newsletter-truckworks-de.pixelpark.net$1 [R=301,L,QSA,NE]'
+ - proxy_non_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8086/opencms$1 [P,L]'
+ - 404handler_non_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8086/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ rewrites_ssl:
+ - opencms_to_slash:
+ comment: '/opencms to /'
+ rewrite_rule:
+ - '^/opencms/(.*)$ /$1 [R,L]'
+ - jsession_id:
+ rewrite_rule:
+ - '^(.*);jsessionid=[A-Za-z0-9]+(.*)$ $1$2 [L,R=301]'
+ - rewrite_slash:
+ rewrite_rule:
+ - '^(/)?$ http://www.truckworks.de [R=301,L]'
+ - proxy_openemm:
+ rewrite_rule:
+ - '^/content/(r\.html|g\.html|form\.do) http://93.188.107.233:8080/$1 [P,L,QSA,NE]'
+ - proxy_https:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8087/opencms$1 [P,L]'
+ - 404handle_https:
+ comment: 'missing export to opencms'
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/export/(.*) [NC]'
+ - '%%{ich-trickse}{DOCUMENT_ROOT}%%{ich-trickse}{REQUEST_FILENAME} !-f'
+ rewrite_rule:
+ - '^(.*)$ http://localhost:8087/opencms/handle404?exporturi=%%{ich-trickse}{REQUEST_URI}&%%{ich-trickse}{QUERY_STRING} [P]'
+ proxy_preserve_host: true
+ int-kampagnen:
+ servername: int-kampagnen-mercedes-benz-de.pixelpark.net
+ docroot: /var/www/html
+ ssl: true
+ ip: 93.188.107.242
+ cert_servername: 'wildcard.pixelpark.net'
+ cert_customer: 'pixelpark'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ proxy_preserve_host: true
+ rewrites_non_ssl:
+ - https:
+ comment: 'all to https'
+ rewrite_rule:
+ - '^(.*)$ https://int-kampagnen-mercedes-benz-de.pixelpark.net$1 [L,R=301]'
+ proxy_pass:
+ - { path: /, url: 'http://localhost:9000/' }
+# bilder:
+# servername: int-bilder-mercedes-benz-de.pixelpark.net
+# serveraliases:
+# - int-bilder-emmt-mercedes-benz-de.pixelpark.net
+# docroot: /home/ftp/ftpuser1/docs
+# ssl: true
+# cert_servername: 'wildcard.pixelpark.net'
+# cert_customer: 'pixelpark'
+# ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+# ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+# ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+# ip: 93.188.107.242