+++ /dev/null
----
-infra::role: base
-infra::additional_classes:
- - infra::profile::apache
-
-accounts::users:
- dennis.klein:
- apply: true
- group: apache
- sudo: true
-
-infra::profile::apache::htdigest:
- server:
- www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEADwKRoog190QDQ5dm6DIGxSrUchAW0FWb+HsJz9oqL7h0j6lSY66GhC2/rFuJHxA1V1xGXOkORyZajU7JTidT/m3fNiDyqqvXPTzJgVX/ifB+0BktOBCpgAQrsScM93+pJMHNLqePbZ5zhTtC8gICVqJM/Kw3nEOzVzVLgngm7paFIRdlKJtX8zgxINfhstJ4M7i09gA1w9wrvmk7OO68rNVKOZMIn5VDZhltrgo0EmAJFcCusCJm1qqPIkSWq4nu1BTXbE9n8CVC8CGZwjqMHFy6mrVRkxrK2KXqV+ZmSJc/tEg7BAogU3sLCI5kDzbaJcb4G8yx1ni7PYvoxVaQEDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBEKBwgwzySRqo3sLTyG6iggBCBbqOgSdnyYxUoLX6Xm/gq]
-
-infra::profile::apache::pp_vhosts:
- www:
- docroot: '/var/www/digitalderby'
- servername: www.digitalderby.de
- serveraliases:
- - www-digitalderby-de.pixelpark.net
- cert_servername: 'www.digitalderby.de'
- cert_customer: 'telekom'
- ssl_cert: '/etc/pki/tls/certs/www.digitalderby.de-cert.pem'
- ssl_key: '/etc/pki/tls/private/www.digitalderby.de-key.pem'
- ssl_chain: '/etc/pki/tls/certs/www.digitalderby.de-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/digitalderby"
- options:
- - FollowSymLinks
- rewrites:
- #GRIDPARK-4815
- - comment: 'Phase2'
- rewrite_cond:
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} >201705172359"
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} <201705241500"
- rewrite_rule:
- - "^(.*)$ /var/www/state_02/$1 [L]"
- - comment: 'Phase3'
- rewrite_cond:
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} >201705241500"
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} <201705250300"
- rewrite_rule:
- - "^(.*)$ /var/www/state_03/$1 [L]"
- - comment: 'Phase4'
- rewrite_cond:
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} >201705250259"
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} <201705272000"
- rewrite_rule:
- - "^(.*)$ /var/www/state_04/$1 [L]"
- - comment: 'Phase5'
- rewrite_cond:
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} >201705271959"
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} <201705280300"
- rewrite_rule:
- - "^(.*)$ /var/www/state_05/$1 [L]"
- - comment: 'Phase6'
- rewrite_cond:
- - "%%{ich-trickse}{TIME_YEAR}%%{ich-trickse}{TIME_MON}%%{ich-trickse}{TIME_DAY}%%{ich-trickse}{TIME_HOUR}%%{ich-trickse}{TIME_MIN} >201705280259"
- rewrite_rule:
- - "^(.*)$ /var/www/state_06/$1 [L]"
- phase2:
- docroot: '/var/www/state_02'
- servername: phase2-digitalderby-de.pixelpark.net
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/state_02"
- options:
- - FollowSymLinks
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
- phase3:
- docroot: '/var/www/state_03'
- servername: phase3-digitalderby-de.pixelpark.net
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/state_03"
- options:
- - FollowSymLinks
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
- phase4:
- docroot: '/var/www/state_04'
- servername: phase4-digitalderby-de.pixelpark.net
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/state_04"
- options:
- - FollowSymLinks
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
- phase5:
- docroot: '/var/www/state_05'
- servername: phase5-digitalderby-de.pixelpark.net
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/state_05"
- options:
- - FollowSymLinks
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
- phase6:
- docroot: '/var/www/state_06'
- servername: phase6-digitalderby-de.pixelpark.net
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '0775'
- directories:
- - provider: 'directory'
- path: "/var/www/state_06"
- options:
- - FollowSymLinks
- - provider: location
- path: '/'
- auth_type: Digest
- auth_name: 'server'
- auth_digest_provider: file
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'