--- /dev/null
+---
+infra::role: base
+infra::additional_classes:
+ - infra::profile::apache_php
+ - infra::profile::mysql_server
+
+apache::mpm_module: event
+apache::default_vhost: false
+repo::remi_php70: true
+
+php::extensions:
+ xml: {}
+ mcrypt: {}
+ mysqlnd: {}
+ intl: {}
+ opcache: {}
+
+php::settings:
+ PHP/short_open_tag: 'Off'
+
+accounts::users:
+ jonas.willingstorfer:
+ apply: true
+ groups: apache
+ sudo: true
+ alexander.bloedorn:
+ apply: true
+ groups: apache
+ sudo: true
\ No newline at end of file
---
-infra::role: base
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEArEwDr6T8ZjBBaJowOCnJI5r7gFBF+zINK6ilcvMFWxQKxF41dSlTR2W+UVPEiJ8WZEYEY6cjiJPPQcYyLPnXCiyJkJVww9/wWruRw8z/+O/SaOyTLSNNGheY5r+cSL5zMEG4gU8k93YX9j4wY0tf62G3utkWTV+bu+qCmcmFi5oOwIKT1vXc3gEf5jYcxpvdfWY9aFjyvIFWV4lRzirDhlSL5C5wj4IOAtCe7R51O/Fjd6utO4uytFnHytk7xwlTsZiSO1r95h1a6KV/JHabDvRG+juDO6pz5fy2oe0neirI3fL1ReZ1f+2xL8FZwo85UOsWc9Fhr6YeCPXX64TiwDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCYbEW718CylfamWtiliyezgCDya+fcGVbsDRoT33NxZfDIWva0c+GlugpRwB1aeMULSQ==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAPHOlbJQ7rDahaFzJITAOrk79ocaTDGDuRVv1BLPuSNxBAmU2YACCSqyVxiHDeh7WqooftP53hU+8k+saL/uNP5W1+Z/FnxsR514eQTcvJscHvsnusNqSieYVudvjIW8OhyQ3eYqSaOQvtLsHc5j0m3o9C6FlxgOA5Xjl6cvw7InEUYb8Aa5je+bKl7uS7p3IUPpZqekQ8QXXjl47cirvdJhi/x4NbUZr3578qEsRNUdalUhFEkXQ0NN7v31ad5abjTKMFRDOtmFMyIfDogzd5Bedc1Dze5XRDH8V5Uzj1LZr18JQB5EsWMivkUnOzZOi0yPVJ8xWDH7pf/6UPfwDrzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBChEbXDEcu72f7dtrvX8UjVgCD45I8n178xLv9KCqXaPhpbtKh1UjrvkDzE+qFb83oVsw==]
+infra::profile::mysql_server::databases:
+ truckparts:
+ user: truckparts
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAmJSbu0ZBrJuaDrm8WNMG9BIq7isnU0xVu8RNBeK2OX81L00zqJDjLLPFl+ewBQD7pKPbB6NnvIhioOihOUh349Bk8Xqsm9/K6FhFbeSZIaROZrmFR56TQazrnIyXISad05kilGYoW6k+TVKyEGyxDekk/PGZipLT6Pwbz3DBUy+rK5idgrDx63pnd2bFFdFMYB4UD95dog1iVP4VBBjSG3WFkZKLWqYMOQAAG7SjKOlB6pQVDhmHJpf8zlwwZzKISEpae9iAovfByxThk3U5YJhld7m0N/IoRcilXKHaPwQu1yk9kI3PPau62mW6JpNRyOkc5SUD9eM6y1FLOROwTDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCQ/kuU0JnCNCV3Xsv0MHH3gCCeSlMjAZXUheF3Z9wfJG+CVZhu/bBNqtQv598/ETFwYg==]
+
+php::fpm::pools:
+ www:
+ ensure: absent
+
+infra::profile::apache_php::fpm_pool:
+ truckparts:
+ listen_owner: apache
+ listen_group: apache
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAcLRsGbtkwWsHG7QhIT3IqZxFz2QHFXFK/dOGe4YwiGcW4CmIOgP0Ro7t00TOPfLWFExLerTcexqH231NYyLe+JIs32NKISma8sPyVguzKUANiE1s9e56Ue7ZdM5TdooT9xLJvW0LM5vTO78Zqt5Fg8RTd96TzBF11NIzPlMDwWKSraNJdbPCn0pN/oZnHS3gBP/ZU/ceIf5LU2QQMG2lK+Uv63BvHQVYyO/onmtEJCGgUMZk4EsQ1FSbTgyc5kvngetDUpzbmGWsG85uleWOLJVXhSChPd852/XUvB/uEnYoRSOWTGIiHpJP+LcT4jV32p8S+6Dw+S/z3q+V30mKPzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBB6dYIPhuIcpZ6WAQ7khjKpgBA9z90Cnkmr79mvW1TeUovf]
+
+infra::profile::apache::pp_vhosts:
+ truckparts:
+ docroot: /var/www/truckparts/web
+ servername: stage-www-mytruckparts-com.pixelpark.net # WAF Domain
+ serveraliases:
+ - stage-web-mytruckparts-com.pixelpark.net # Realserver Domain
+ 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:
+ - directory_root:
+ provider: directory
+ path: '/var/www/truckparts/web'
+ addhandlers:
+ - { handler: "proxy:unix:/var/run/php5-fpm-truckparts.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'
---
-infra::role: base
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAOtVLJoVuGecauX2tTZoWfLnW7NAV4YZxUMrY263pq0TsSBv1uxBMJJqwWadq+fX+GLjw3ROebvK7tqDMjeWBV2KigH0ed1wyPZ/z8JfOsARiCD+N+4M7W8/dk2X5SlLuJxjIblZsgMG0/WgvUxnEwfSv28juQMIHo/9wPNeNuvODptnZqJZbYzxGJg0RQ3evaAcObboK3Jh+BqU6YU5VPYz+dHY8b2TOCRXMc3JcrzAqdrgtNxCiGon11VjChM2OsioUmwFDuhaFTV13fBDOzwWzioDgyIc4eWQehhZzQnAVsYf2km2hY7Cu3O4DgBmCaKF5nVr9yAo9NnnxYrKb9DBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDmYNXpZpBAzQEtaDOM0iQKgCDMgE9bpEwnVmDsO0zxraop9uC7wMCaooD0YIA1F2cbzw==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAwpPsyyBgbZryKlnMEx93/UlOXEVpQY2U5rpfsGC8ODHQxbbqh4j0ey4FksqcsRcYajxFjRP4/it5JZC7cTL2jEoJozwfYnWMEfutP4RIUHvxtN5LlHgRAXMEvjtxUcZ+Tp0jDyDWLosEAsU/SEd8XjfKGYSCt0LJ7K8oPex8p9J6zEnYsUbBzHKeEX7WW6gb4tTlthsbaA287LV84jPh1ZIq+SJhuZgHn2ja15O69Dlv9m3jjGCVN/LiDZyPcutnj2MpYBhdwHhJJKUkO1ne0LEnpBXLN4PDzOH4PBLDCoG8qs2ie7JJ+/ifzfsmRWc2V+vBcymHhkol3JFkfO6HfTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCdBWVgjSg9x1d/D28iG8wEgCCfiPhMeT1CmQ8mIQrU5ADSo1jNhxNKs/uRUzpGMV6VRg==]
+infra::profile::mysql_server::databases:
+ truckparts:
+ user: truckparts
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAlxg9MSoJux5iKLtrhqp5T/zGd3AHxIDvTw9X6ep44PQr5Bql8oZQjMNWInS6HE94NPsnMJYgSV7I3DCo78abFHSyC9NGKfKxCRf+pobOjCMUmBtZRCllk9QPEc41Z7jXTMKR5DUyGFXYky/b7pwr3AKYjAUX9nqfnbjuVl6plC8+Zwfah0SA5lIWmpvk8zgNYwTs1OOc7bbmPxIMOz7Wu/ydPu4lXS81f78kESgJYmGoULOfEMW8OnZjlakZ3oWKrOlOdm6KQb9FUCZiWjO0SERG6Zv9BSpYfpo5DVAAggEHxma5b6MF0pt+AAxRZWe4nEAa6qr7CJKlJrx25YiuaTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCTQHbnw3q0zuqJSUNm4xvSgCD4/K2Vj2f8F9/0uYEedDetL3cZEI0t1rx3bwirjJeuuw==]
+
+php::fpm::pools:
+ www:
+ ensure: absent
+
+infra::profile::apache_php::fpm_pool:
+ truckparts:
+ listen_owner: apache
+ listen_group: apache
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAZEe/udRvH+KbXJV3eEGFGXILjDjvEIJTyUly8J5lOGbmmTlJ9uEbef0/XBjXT7AXbdlMLxDi65hyGIMpJBG+2lNmvAQL9xM8XYPsLgazEPoZqCUuPQNrS1b8KryJa1OtYXOmLFfa2yct4yxDHkGq20uyPVNWOklbFllSjhF89Q5rxjwsePcF6IT4myKo3a4vcbSVGo2+PRWW8kIfpJBgAFsibyoQkfDQGVMsoPDyBzp7xnFdPf3/64IO5ji5RO2690NMR704gQBCWoYgU/vd1mwABKVm7IwCslhR+Jx/EljM4bBlMrZKLAqsG99Y6In8Gy9abI4MGCTz3dK+QRjtVzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBATqvAFw+keM6pCOmT4CP+0gBB9e0i/fqB+ehOEACTjZkqk]
+
+infra::profile::apache::pp_vhosts:
+ truckparts:
+ docroot: /var/www/truckparts/web
+ servername: www.mytruckparts.com # WAF Domain
+ serveraliases:
+ - web-mytruckparts-com.pixelpark.net
+ - www-mytruckparts-com.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: apache
+ docroot_mode: '2775'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/truckparts/web'
+ addhandlers:
+ - { handler: "proxy:unix:/var/run/php5-fpm-truckparts.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'