+++ /dev/null
----
-infra::role: base
-infra::additional_classes:
- - infra::profile::apache_php
- - infra::profile::mysql_server
-
-accounts::users:
- lothar.schickhoff:
- apply: true
- sudo: true
- martin.dilg:
- apply: true
- heiko.hardt:
- apply: true
- sudo: true
- matthias.schmidt:
- apply: true
- uwe.zillessen:
- apply: true
- jens.vollmer:
- apply: true
- kerstin.sieren:
- apply: true
- sudo: true
- felix.rauch:
- apply: true
- sudo: true
-
-apache::mpm_module: event
-apache::default_vhost: false
-repo::remi_php70: true
-
-php::extensions:
- xml: {}
- mcrypt: {}
- mysqlnd: {}
- gd: {}
- opcache: {}
- mbstring: {}
-
-php_admin_value:
- upload_max_filesize: 20M
- post_max_size: 20M
+++ /dev/null
----
-mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEANzjFZW5Dq4YmsboJMvcQR/JB3orJ4T09BHHRuXRXiqe/UZmw4Curr8Uiqj92hFGGM//bgvjbIUFWbGal4Ij9q35+bAnYuCrlXxLxeJKNdlz50OH/epNmclJnSTld5HDyTkBfYtRvoagQBgPABh83xsEoMu+cFEpRPQo7iuEU/kDa/JOzLMh0PRtbvtkwWM84T9+HH9q2dBmriv1Y0UhCS25NA3+Ql/tbgeErNfm1O5gdvLJI2MgL+1MAKdSCmaK9oGZD9l/M5HoVCX7TP20TNM8RPrMIpw8mvWTNNNVtnE9Z0w33u0/uz1T4BVQd6C54+yR+ZEwf46nEJWXFhpqpNzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBABsdyJqSqDqDZg1KuOWMqXgCCwy0FvFxhDjctdW4TU4IKiaHs8QImTRaPwK21syZom9A==]
-mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAq3ySF7P22I/JfnatpAFl1TZ0rllCqwTP3aBnfyAvfdAWjRgnSWq5EQtDqRiHX+mDq/BQ8kA8qHxrZDb0en7ABBne7DhNJV80yaFCyd4iGOpvE8WpS+HfSHuD7Cp8oMKEw4IMfevWaAotWCkennIhu3zpFPWGafxf/PgnHOZlYsppqyoLNiH6PVnfzlZ/Tig3pCJ02z690GUnFAKgfHbk+k/VbaWQMHme8ljWvyVxzeaN16UhDsMTXZbb/uZu9VMMpB52VnpJldvH/jjXW4PXlV96a+ZYQhcuX7f0fpJWiMjow2WyYecK/8lnpVulN6K09Rii9zx8g1wI46oafvJCxzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBC4Sgecx0NU6TbN9jZFzvULgCApX4T2u8xF5v/k45+QjD4Als1t7OWsg3/sCZ9Oc1pTvw==]
-infra::profile::mysql_server::databases:
- g20:
- user: g20
- password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAUSANBzL07SBUpnrTB528mVIcx9sBuoNfp2WhhPRPFG2HIhOos1sGQEBvI8yCuVVzvg0SIgderoGMPLdFtKNEB7t0lTI0q5/YW5ahR4dpUT7UtMFS0R5O23UeEXqow1dE7T6OkXbQBWexi4hygR2gtnWx7FoMf2+vErEF2YMyP5SHzKTS4tWn85UDPATIlodTqAvHbSgvJ9AxPAsN0lmeytjhjmjq9dxUXRBncGdRH7JpuA2YIJFRUEXGuEEDgJA0tFVpmZMIw7aLbh/aIEv/vNgo+TWL2sjfQZpcYveGL6wY/suLLmR8aQDDltPqAlaffk4og83/rHoiHE7kDJvKsDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBA3a3/VIFGT47PdSZwhdgYOgCDXmpyEw4PZO6uizGI60e9SApmA26mA4LPjepvrVm6Bxw==]
- g20update:
- user: g20update
- password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAUSANBzL07SBUpnrTB528mVIcx9sBuoNfp2WhhPRPFG2HIhOos1sGQEBvI8yCuVVzvg0SIgderoGMPLdFtKNEB7t0lTI0q5/YW5ahR4dpUT7UtMFS0R5O23UeEXqow1dE7T6OkXbQBWexi4hygR2gtnWx7FoMf2+vErEF2YMyP5SHzKTS4tWn85UDPATIlodTqAvHbSgvJ9AxPAsN0lmeytjhjmjq9dxUXRBncGdRH7JpuA2YIJFRUEXGuEEDgJA0tFVpmZMIw7aLbh/aIEv/vNgo+TWL2sjfQZpcYveGL6wY/suLLmR8aQDDltPqAlaffk4og83/rHoiHE7kDJvKsDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBA3a3/VIFGT47PdSZwhdgYOgCDXmpyEw4PZO6uizGI60e9SApmA26mA4LPjepvrVm6Bxw==]
-
-php::fpm::pools:
- www:
- ensure: absent
-
-infra::profile::apache_php::fpm_pool:
- g20:
- listen_owner: apache
- listen_group: apache
- php_admin_value:
- upload_max_filesize: 20M
- post_max_size: 20M
-
-
-infra::profile::apache::htdigest:
- server:
- www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAO2gsG/lq/BuNQpiz7LS1qnUmtDZys6PJ0MR3vcMnWjWg3EpchYxBhMgrhsMI2e0UJ51tCdHvIQEr59rAXamH5IouuF0N+nat6ZcT7nWHrQS2Uks8RMDH5HCON5X/WqOtUIFA1JUyya1LTE1c/PYTusnzFEJ2nSb4y9dEXaxcO/n6b0KGB/as5O4LEFDFp3b3OvHH4Ml81dLl9qPW2SuPQ6cDsJoRM6VDbejtYbjsmBKPXmtejb6T8kKK9UhWNo18TUc5yZiA8FvwKT1HQ12Deg/T/VdYuUInkrCTHl2JxWnzjRfRyR1choCErY9cAqq6gsAvJAyZ+jvrIQLRjey9jTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBK7+bkDKd5mfmeZuwN0IcHgBDcB3TtbuOkKVk2++FboeXf]
-
-infra::profile::apache::pp_vhosts:
- g20:
- docroot: /var/www/g20
- servername: dev-www-g20-bmas.pixelpark.net
- cert_servername: 'wildcard.pixelpark.net'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
- docroot_owner: apache
- docroot_group: pixel
- docroot_mode: '2775'
- directories:
- - directory_root:
- provider: directory
- path: '/var/www/g20'
- addhandlers:
- - { handler: "proxy:unix:/var/run/php5-fpm-g20.sock|fcgi://./" , extensions: '.php' }
- options:
- - FollowSymLinks
- - MultiViews
- allow_override:
- - All
- directoryindex: index.php index.html
- - location1:
- provider: location
- path: '/'
- auth_type: Digest
- auth_name: server
- auth_digest_provider: file
- auth_digest_algorithm: MD5
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
+++ /dev/null
----
-mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEArtkaXJ6KPfk3Fq7DURIGuVXAoijATcqJ/HdXXEA4uNDBxEaMBPgILbiDNehIIqiIvz/a6/IjgK+3Ik723z7U50JGMSs80q0Zu08CtkGVXlHAjX2BR5uP4diwtHUJzRB06bpuWk9tWzV9VCJrGEzwnG57ZevvIlojAWZ3hzFcdK2YmLhITukh1ZE9Xwd+W5oriuBEiRSiv0P5aC3Eqn7d/1qAj7LpryIDfVt6stRgu3NwmFXOFruE3pxP+Y8eiuGhZZbtOcddP67ZwHlYJ0S6Z52gN3ccOh1tuD5kmhSXBmALBo1CjasTVf1P6nEsjhJ0AgJPo53BExnIdSitffb7CzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDFxml6n10vPM+Chw9IARNXgCA/5mln1C5F841sQuAR3Um+YM4JiFPRuttdu/3OujA96w==]
-mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEALc4hdVSZj7U1pM1h76xj5dP8ZxQ/bctMMd/4emao1DtpaGoSGEi2hbwXZAOXXWQzdUUyX6jo1Mewjhnh/5SJa6B/srOlISKdgHDWUfvMVMvGayt9pyolWywaviKxpf/zs5N+xGV6oshL19MwukiboNv48q2nEAC3KYdGjIZp0MCAi8dK8xu5+1a3LF+EuxtjVftwcZwNdVZuswmb22cW8M7nGby3UA8yBNYWE3YQnwXuWVt0vRgkMQbjRnKntLbD24N1FqQmX2Z59Jum7ghINd3pnMCGmOZl4PQRRPANUTaqU7X0okxGQP3WV7JItCmhcxsE4V8ZxaLd6Z1BT2ITOzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDYqVkutZ0uW8YFQlSXNt2VgCAi2WStthfJOAZ4C26I4KUUsz4k3C4aIThkQ7rxn1jlsA==]
-infra::profile::mysql_server::databases:
- g20:
- user: g20
- password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAxF3gPw8f3Zc1PhgrhgZB/e5kj/dAQt3sZoW0tfGL6doIv9aTwcxIQ6F0hGHBDtxZs8mz/oV0ex0yzOjsvLc1F5VA+ZOZOHSOR8ZIyTYypQr/8ve5dYNpdzLJZAKYy/7nRO2MvUbx3YnUG4UO8XMcD0HxfTHiVH6zkkDFUaldLeVk4GRgygieVaOi+61KiXrioE38/VhFpzKD0LJsVVwRhE3kAV49+lpGX+M5/BteHpLYH3QVfuvGh1m9eARpdt6uJmYv8FkO4LyLNDdhJOF7k069pWVjbDm6RUUbdMpunEI9i3CwI+jmeFP/9Q6SSr6vEt8sqFzEUzazy+7kQG0DRzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAn+ksaKYKShXnRHa4ijoW4gCDgaEYxdQt7GHCIjQOZmi8sYcyXPMlahwinkqqY7WxWvg==]
-
-php::fpm::pools:
- www:
- ensure: absent
-
-infra::profile::apache_php::fpm_pool:
- g20:
- listen_owner: apache
- listen_group: apache
- php_admin_value:
- upload_max_filesize: 20M
- post_max_size: 20M
-
-infra::profile::apache::htdigest:
- server:
- www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAwtKqzRR1chSJwiTMczzMYem0gYsbdlS8IdQbXqOuNWR23kwLKVTWFuvOTIG1VW07NWfo6QFejDA3XavtOUOxULXmLfa50/TIdSMrts9oH629hS5rMP/jkgy4Togc5NhAYtmEYjIybm55G9kT6HKe+5WZFoJEeWuZfawsagt98raxuqkgIlp9kDINognPIjVAjaljGrJL+UQaBy81xrVSpSDEABkP1Sf9hRy9szihClJZ0zJuwZjjZ20mCoiIFXeahL4oGQDAjo9sC4V+Q5wQavQYqId2ZxNfXV34SuUa94Ae+AJNGLCBXMYouMc+fjoieIf0+UzNC1aJUpc+rx9VlzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAUJutRkMMEN+MlX/aACnzAgBBSC6x7g0ACXc4AIXtOGiHq]
-
-infra::profile::apache::pp_vhosts:
- g20:
- docroot: /var/www/g20
- servername: www.g20ewg.org
- serveraliases:
- - g20ewg.org
- - www-g20-bmas.pixelpark.net
- cert_servername: 'www.g20ewg.org'
- cert_customer: 'bmas'
- ssl_cert: '/etc/pki/tls/certs/www.g20ewg.org-cert.pem'
- ssl_chain: '/etc/pki/tls/certs/www.g20ewg.org-cert.pem'
- ssl_key: '/etc/pki/tls/private/www.g20ewg.org-key.pem'
- docroot_owner: apache
- docroot_group: pixel
- docroot_mode: '2775'
- directories:
- - directory_root:
- provider: directory
- path: '/var/www/g20'
- addhandlers:
- - { handler: "proxy:unix:/var/run/php5-fpm-g20.sock|fcgi://./" , extensions: '.php' }
- options:
- - FollowSymLinks
- - MultiViews
- allow_override:
- - All
- directoryindex: index.php index.html
- rewrites:
- - comment: 'Weiterleitung auf bmas.de'
- rewrite_rule:
- - '^(.*)$ https://www.bmas.de/EN/Our-Topics/Social-Europe-and-international-Affairs/International/G20/g20.html [R=301,L]'