From: Andreas Gerstenberg Date: Wed, 21 Mar 2018 14:32:32 +0000 (+0100) Subject: spk-alltag initial X-Git-Tag: v0.1.0~1415^2~2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=8f406595d63dd26d99ccd4466728b2ffe261107d;p=pixelpark%2Fhiera.git spk-alltag initial --- diff --git a/customer/spk-alltag/common.yaml b/customer/spk-alltag/common.yaml index 07163554..9cbbadda 100644 --- a/customer/spk-alltag/common.yaml +++ b/customer/spk-alltag/common.yaml @@ -3,8 +3,25 @@ infra::role: base infra::additional_classes: - infra::profile::postfix + - infra::profile::apache_php + - infra::profile::mysql_server postfix::myorigin: "pixelpark.com" infra::profile::postfix::virtual_aliases_source: 'maps/virtual-nullclient-sparkasse' +apache::mpm_module: event +apache::default_vhost: false +repo::remi_php72: true +php::extensions: + xml: {} + mcrypt: {} + mysqlnd: {} + intl: {} + opcache: {} + +php::settings: + PHP/short_open_tag: 'Off' + +php::dev: true +php::pear: true diff --git a/customer/spk-alltag/dev-www-alltag-spk-de.pixelpark.net.yaml b/customer/spk-alltag/dev-www-alltag-spk-de.pixelpark.net.yaml index 7d9b2347..6e0ce714 100644 --- a/customer/spk-alltag/dev-www-alltag-spk-de.pixelpark.net.yaml +++ b/customer/spk-alltag/dev-www-alltag-spk-de.pixelpark.net.yaml @@ -1,2 +1,54 @@ --- -infra::role: base \ No newline at end of file +mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAalEl3oAOWw/g2Sy8G3Jtfn6o+i5unTSVgnMCPks0JzDgHj+6Xcq3bFfzSprfHO/NUMZsjYj/5oeq6WNTFju3Znj9VgwY5eKEpYqMk90HRGC3v7E1h5SL4yxEDZmfLj49th4/YyGdaRa/iCaQhfFd9T8WafSPuV3zAM7UIZUTXj7MfiPPWz7bf14JSV2VQTAwSUVOMtF0E2RoACR2WPQ6SPTzzpMcyWY7vmYZ+9bBJ0101W6F0I9xo/Ns6M9zTl9vrp7hrXdWGj6pXXeESEQmegrcjgifwbylx0wiEsqz8qZDeq1HSJdyN9BnW1sqLevSjNBOZGgU+IwOikKtaoHISzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDpYPn2GzZhumzfL2tW+Ky4gCDYsJhcoh/SZNAJX4fnbbwhBv6XGyEgpJrMYfLd6KaO4A==] +mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAlpiRHxNB4cCkiqs5Hwv9KNmSohHgYaXdzkkHNZx7rFWI7ZUFilnn9JEVaKflv2u3K5oFnkw5rargO3KxL/WJasNBFNj1gm4BRxvAnPxMXxx+k6c8wBqN3FTOFOd4Cu4CepKXHWNkppUZAxtnjIVVQXuyJ6XSqg2ydHRyACU2ilNXNZrj70HSQ8nGzQgt5W/oltMVg0J7Ucn3mCcc6CvDnCF7WgoYodbMa5RjtkzzI6TChZvzKLeapELTg42gywVxYBvUpAVvbxps/yIeyFpN6PlRD9gLTVwu7MHaKrwBqrm0BPjtZA/kOKUNfxl38FQsznYrdx+cG837uUesGOa5gzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAcLz2RaI56yLY4OyHcYSn8gCBlnfQfA8kXWiBphSy1J16OsrmADpaRNydfNbDl7K2cLg==] +infra::profile::mysql_server::databases: + alltag: + user: alltag + password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAHDv3uEjTiO6do/Oo92114nHaXrLPhK2VzTLgg61E/BvzTwjXQNISVIWomtJdE86ZsK0+iMwbFFgixXPfIAYfCo6G86v8TaOzgZJZEX2ZmZZ9QxLFti7ZgtXGER8AGtsKrZUTAKx9tk3s9/6XGn+5ZK9baOlrmkKDP0ndR/u6GlT09HA0Stdi7vHKztyBhvaj8LafR0h5ypUJuOGXZ24Bll487ZXpHBcIFT5WQvd8Y+0RodhCPE8kM+9YWT/EmRyxqhy1+kQa2NRDS5jFSK+IaUK1yeijI64otJd2vxKndki6xq0W1MP50YB2aHf/p00JzILZZHT++LP0YV+X3xO04zBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDCdHlILww0P0GdoYgBssUpgCBToaqh3y+xz9MqsWiiCI4MMe/hzE9Y7r2PbuQ5ys0GCg==] + +php::fpm::pools: + www: + ensure: absent + +infra::profile::apache_php::fpm_pool: + alltag: + listen_owner: apache + listen_group: apache + +infra::profile::apache::htdigest: + server: + www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAC+qL9wWEgTwtrOaLMz6JfjYe1VcdnDY6TbN4NF/YShbKeqE8VyFGZ5VV8J/9HW7TvyjbcRhKMQRQwyZPCQP9N56bT6DJbhn51ai2EMXfahVzeSBNH0hPNB+37dDxbknTP8PLPj6AojwbaceyDuu58fhaj8WFBcWhaht/7uDbqiIK/p6Oq1QKighDt+X1j40UKb24hk24aCTFk6X+Eo0eb1SdYk2tjUttyGnatBgCuMVUxtvUuPz6oEOgNlvAYR7lMht+LY3s+7MfaKD+K5OCogYgnUlDvLJwjwQ2/qPeAiTGecZNSb9V/pzDux3WAna2hSraI6KcrhLPIN9o2AsLhjA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBPvUzpsXjIGwvwFLcEzVeLgBCeG8p+dn1vYPLcAGkR+dlG] + +infra::profile::apache::pp_vhosts: + alltag: + docroot: /var/www/alltag + servername: dev-www-alltag-spk-de.pixelpark.net + serveraliases: + - dev-www.alltag-spk.de + 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: apache + docroot_mode: '2775' + directories: + - provider: directory + path: '/var/www/alltag' + addhandlers: + - { handler: "proxy:unix:/var/run/php5-fpm-alltag.sock|fcgi://./" , extensions: '.php' } + options: + - FollowSymLinks + - MultiViews + allow_override: + - All + directoryindex: index.php index.html + - 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' diff --git a/customer/spk-alltag/www-alltag-spk-de.pixelpark.net.yaml b/customer/spk-alltag/www-alltag-spk-de.pixelpark.net.yaml index 7d9b2347..18287954 100644 --- a/customer/spk-alltag/www-alltag-spk-de.pixelpark.net.yaml +++ b/customer/spk-alltag/www-alltag-spk-de.pixelpark.net.yaml @@ -1,2 +1,54 @@ --- -infra::role: base \ No newline at end of file +mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAW8FSjqnMUYEydMZhQQ7JQeJwiRNBeYlvQmIdYALkyE236ziq0qd6US2Js+Af7MPiyXibpiyYJevicfWRIidb8KxfBnTA4wgYYV8DMzlpytHa0+kNGJc0TzwQaofZ927Q94WqcoFmMbXsr/It9JA9Jn12tH3bzGJzE+rvquWjJNgfO01NVMweBWbAK8YOuV0f9OyeT1QhEvQD3YQvTgHSmjM394kF6XizoqFOvZFIakX0EjsZmyhE4e7LRhJcj6vBc/CUKt0pgj0R30FUhegyExkBrbzU8oRmSp3hwk/g6nwPa+Pr9gHEuMQljxnVV/gTBQb8qWENDLRSF9tM2dH4PzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD6sBRFBf6YboYf/78u/A70gCAQGa4cws2IcGLYSRi5wk8j5el/80kMnql/FJuyrC/Rnw==] +mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEABreY8vUXfPUgXJNRO21YnriXphEHebTxYC54WdxelYesSwtl7eLcGNFBKd/DDizQGrzmCNCyZlB/zMQoxmBIS86bM8G7G3XWPH85/KlM2/0aRb/erdZC6Zu4Z6fo7Y6swUozoFPc3cuIyfuHbWkdxuIWhiscxL8kP1WqkMAi2XZJQhKxLLwjqWs3GCQaHawwc3H7LR7I5OAlCaTjdQ3y5xiMKcrMaTpbPx7CSl4X0TinxmnRwbDD1lK1nim/ao6QxUa5Dub0dKrsvaCjjl/O1ksIWkQp5Zfy52aSGo+GyKK2kcrzHuPfsQJILQZlnaWHSm5tkG9cQDyfgYV/k50rjjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAkBJ/VZnUXKjt4qWmEFFd5gCDZM9osXL6ts/S3HILtHtG5OfclW6y7HeDaLwEcs//fKA==] +infra::profile::mysql_server::databases: + alltag: + user: alltag + password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAIzn4/Don18ZMGv/rfv/0VvYe+zUEDg1Gs0bADtVEBkBKZQFeYOYK38CBfsSq0oMLxmmVqIZlSLvyJgrXZWBFpUptRPClFxrWwy7FwcPEfAmMAw2OBw/azgr6Wij+dpSdejTshmOpP3Edp3B/1mCoQK4qZeYByoCWo36QAmFT12ilLxAk54bXfhQhRjOUJF8fOt5z1mCn46xiC2EFG50rsLOZuTIWzmODxHzAM6Jv2qEeoOaPG71RkNojCOrEBbzwHst7Nm1DeB0rWXjsaN4TScBd6iTEWc6X2k7x+FKzPs8iZ3pOBTxoy6e6uBOv9wzEIBO/N8036It73jGOc2w2YTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAh84sg+AFXPs5+lj3ASZaFgCCKPGpNKNWR0hZyXuT013IcpuOoKj0BVElmwY1+cnu79g==] + +php::fpm::pools: + www: + ensure: absent + +infra::profile::apache_php::fpm_pool: + alltag: + listen_owner: apache + listen_group: apache + +infra::profile::apache::htdigest: + server: + www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAQepX1DiE+qLbpvOTWKLk9/gbzliE8iXBP3poh1IFgKe85nLjwsLY3I6aDMnEPhChys3ucDb7/JQY9pz1WbboZo8QCtON4b0xzqAIuPa96xy0N3RjavwCWtRb0rl1NTl6olmrt5qva8N8+0qqOlT/PxHX1yTJTmYdOCrFYXRAhyJbO7nXuA1X5ONC/qsBQcgUBhu6nS+flQabTmSTbcjQv2/9s/Slf8M8uFQ+kr9XZKYbY87bKZXVkwDqB0ieJDUTXHa9sX49c0PZgvB8rm2VRS9hlsZC/y9nKMZ/aueeyAmns92ldspZ5AaR/VLTtj5Qu5AfwAR7sE6fVplpXxO3lzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBATaS3By+c7kvCo9riTwXVPgBDzz/yqZEwxkdI8Dhcy7dJR] + +infra::profile::apache::pp_vhosts: + alltag: + docroot: /var/www/alltag + servername: www-alltag-spk-de.pixelpark.net + serveraliases: + - www.alltag-spk.de + 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: apache + docroot_mode: '2775' + directories: + - provider: directory + path: '/var/www/alltag' + addhandlers: + - { handler: "proxy:unix:/var/run/php5-fpm-alltag.sock|fcgi://./" , extensions: '.php' } + options: + - FollowSymLinks + - MultiViews + allow_override: + - All + directoryindex: index.php index.html + - 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'