----
-infra::role: base
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAoiCQsfsSs3rCT8Hui1J3WYgZXe/IMwoFtsO0T4g7qnBxhwDn9LmGJnivDWhUiILvsCDpC9z4xjU/mcV1v0gOOX0OVaFEO4b2L9mVGLepcCsan1u5pveEEz/nJbHAltlpV/lae7oDODlxWW2GCTy70rRhwiTzawx+rg9ucck+BBTIRNkV3QhaKl8W1a6998GaM6oKeGTINm90JnVTvWfT9xqvPlOxP0rkzQzTY8eN/WVHvRDTv/bRgODRYmP2SQksyqpcIT38+RneRmx6sGRXt1gBpSpvMFpUa6Us5A/yhA/cKZQkvDqIAmapFL5hX8+jGf/eHXleSRlK2zB+4jstlDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAK+BmYMRoPatKs/NuzKVpjgCDilru+L70lUX1x7y8Kgf/6dNhNlJKdf9kU1wN62ChDZg==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAf4pVeY2puBKHt2pv5BMMiYXPXN5nBYi+ItJZ7EnmnmwKEPiZ1YC5yZMd+CuDBd882Z51WzC0TSOgk5g3U2cd4lyDNucGI57IEZywMkFdeGN2853YHF+l3xqqcy4HnHwuggrM5TQBQzTob1zKOnIFmbN6ed+EV3cROO5vuD0ylnSFpIMlzCCZcVEc7Ny5mk5Z8rsjv7LwiCa1+LM0EvmA42Xnl47d5ArR2SWBEoABpQQtyvv0pu08p4LHVBmA6gDlW6boQ4tDnu7NHNdG9/OgNCEb6Ttga6o5G3VL620EhVyCwshG3eufbFOXVkz46A+ZLpMBFC2cJWouRVekU3JoqjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAkdDDLK9j2ZnOX0p194h4YgCBZ3XfX5K353AHwSAR9G17QkIsUZnTvfpHstKqfWFnogA==]
+infra::profile::mysql_server::databases:
+ marketing:
+ user: marketing
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEArKusrFUVbxdGpSBSV/7irXyJUXreO8Rh+Z/1oQLzDWRs32sDbDMdTq6lEFSMprtIf0dyN39DJtwqSiXlYOxFLjJgxa+hhgESgcg+4w1lXJp6EolG4NqSd2BCQaOI8awq7TDd5tsoWwFznXYJYnRDpMnYFVrDoeJvh04HPSel5fuV9LDfZB+3FWxZgOPPLU8gcz3pKV7F1u7lzjVFf35c4D89YDk6YekPs7jcccijMdoTxk5tWcqBhGnFCk6W4inn5ABG5eUDYORx+nLpCErODtAjHZTDpFfgmE1KehehW3GkqIFytyyA6gwMO+TwvEfDp0Ro3hkr/xhBgmc3sBHJrTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBiw1xOGCsts+kVld9hGe32gCCIOJPrQXxjURA/WqLPEvR6Uy4UmX7hhuocuUrXsOsZpQ==]
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAYdFh2WS9R+8MJnzjfquonnR6WGbxz/7ous/GkszdI5G2AL4QNH2cjN2Ys4Doz5PNEQbZnsAL3GPkna+z5sAntzuVzsPELh+MN/UwJLxstthMj/c4dlDAbnhqVZa2ZiDpJryGyNP4ZPSnDDgVrvec25jozP10rRU0ilvGTE+Tx9qLgA8khehjHJ88PIBGJLv8XIYkeid/VArFkQvA5sqPcXoWjTK3P2dljEtQDohL/oE+LUPj2bpBKpxQaJ0u/0cMnF/14W7242fggAxlmbTA5BoUxFwYcDErtJSF0iFrtvRl0kcxaFtCigUC06SL9KMH7iXLG3okJKBxkAJdgs7YwDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDJCvec4LnKTV5MNRY8T4L6gBB91zmZZUWG4aD1h6lmpc7C]
+
+infra::profile::apache::pp_vhosts:
+ marketing:
+ docroot: /var/www/marketing
+ servername: test-www-campaign-pf-de.pixelpark.net # Realserver Name
+ 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/marketing'
+ addhandlers:
+ - { handler: "proxy:unix:/var/run/php5-fpm-marketing.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'
+ setenv:
+ - 'MAUTIC_ENV test'
+
+#infra::profile::cron::cronjobs:
+# mautic_update:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:segments:update >>$LOG 2>&1'
+# minute: '0,15,30,45'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/update.log'
+# description: mautic update
+# mautic_rebuild:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:rebuild >>$LOG 2>&1'
+# minute: '5,20,35,50'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/rebuild.log'
+# description: mautic rebuild
+# mautic_trigger:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:trigger >>$LOG 2>&1'
+# minute: '*/2'
+# hour: '*'
+# description: mautic trigger
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/trigger.log'
+# mautic_emails:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:emails:send >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/emails.log'
+# description: mautic emails
+# mautic_messages:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:messages:send >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/messages.log'
+# description: mautic messages
+# mautic_email_fetch:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:email:fetch >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=test'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/email-fetch.log'
+# description: mautic email fetch
----
-infra::role: base
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAN7szcfcnX9TfHlbjsNhnd1FgzPDFB7G2I1O02xxh3LUnqESOEeTz18hhU590UyRd1BHt8oLByKDhwHALcdo9td3Np3M+FYYoqKtEkNvLw7Ttu90KFUVgn6/ErIoGbUBhUf2yu2Q/DO3Stp/nbtOhTpn/SngYVf5u5ZjXSslUTq8FJE6g8McKCbxOSsTaA+kwohBdsl0j6h/W39PQqxSPalRAKJJDAfvxeDm67ruC8Jpu/2ekB6jq8XKjIV392fi+ttEg7k8OeVWSSEyVv+FDZC6KaDRRavbadEonW6CZ/RGZaL5sOFHRULyDkTiJ6UfuHzl28Gs+NESnchaU2uQc8jBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBA8DXqmI6LeV+K/566n/vh7gCABNWwZYMf0soA2wFT0MTxi0G1+5gS9Zx8oc59dcuV89g==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAGVXLsUCc0P/kikdJT+OGIjQcYnlw+B3tYHWM/dfbTK35BFonXIFQ5JL/0IC50sT2Lbbm/ezUbsiFonY+a2n2SOVVK1y3UpzJgkXrBES7MCTaNfA+PRXNF5o+m6hchipQdntmW5b+2AdM9blKLM76U9Kfcgzlsma4r5Wf0aEcucKRR5EUVH/fvvnv2F41YtYTtmLPlDK00FmpwTn9OLnUrRA4QbZyLZqer9qSgwZpE9jlbPp7J6sloRQ92WdhAzKKrI7cyQZaWKIrtUzp/Ldnf9tqKAlgf/r/f07PzdHMlpw4AnJLeQs+RTGldz0Uqttt+cRF9O7ZvxgUfAQhLfCtbDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBC95xRcgRUWl/89+iQk/kD/gCAXmMLr96bFusgYyL+4ROndwzZYoQyzdRbDHTM0uhdlgg==]
+infra::profile::mysql_server::databases:
+ marketing:
+ user: marketing
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAJGLMpQ7VzR6LPqpfQQt+g9wXJ1JKGSAqXCo91ei1QHz8GCYvKhMhivW9Wlqre3HfeFAObCWgZz92jU14QY+V33cP9MHcBhfOVHUsCuhUE2K20YIZSKEPJP1tsQMn6tBbWIPXAO3wPOvU3rxsHYis16g8NPwaFPVRCyMlCIbPhPO3cvhSiAMdkBdayXYDqK3GgYjglzHnZWqKHirC2LX/H8izdQtZunpOtA6wseNJ/fzd8Qx1455aY8b8GVbT4iVWpV/jWZTM8lmTDMMY4iwlTsXdY9hWFpAHL4liBv8RcqBkhSAOrOWxjGjaSLZ6tiVzOHakpw0tZ1T47fxzRIHK7zBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBoeWoq3iI+9CJ7zoaffigYgCAnadODjjPPZaI4cOWwZUr3FTmqA4gHLiuxsv5TgpcIcg==]
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAtuT7sj9WgMDPXbw1Ry4ZcUXgxMd33lkJ8kqKy5KkVFgb3nCp3iI5qJZb+Y5vH0QLZPw61Y2CN7Yyowr9+nxduBHMbrpMztKzXYSGKt1Plry0IxJT+EdzK2fBgw9MNZIztNVR70STtt3bZtuyUMY2R2W84V8Zd3PxQAtEo69P4JL8gOd8K6/e2Rrbu8pukxBv3hcKw4CDjp6qYTg8vo6oFnJl9tNFi8DvrxUiXfnZNTQ3VDIHbiA2m8obRFYzLSurgleXWs14q5h2VWGia4V5XgVc2IhRV56lrD7sB/xtbW3kWPSFKnVL4w0CdvolJB1AmsPtgdjcZe+1OW+2uJB3jTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDulRdb3CWUjL7Pj/g+xoxjgBCsRQ1f2EyLm4TR+ywXmY2y]
+
+infra::profile::apache::pp_vhosts:
+ marketing:
+ docroot: /var/www/marketing
+ servername: www-campaign-pf-de.pixelpark.net
+ serveraliases:
+ - campaign.pepperl-fuchs.de
+ cert_servername: 'campaign.pepperl-fuchs.de'
+ cert_customer: 'pepperl-fuchs'
+ ssl_cert: '/etc/pki/tls/certs/campaign.pepperl-fuchs.de-cert.pem'
+ ssl_chain: '/etc/pki/tls/certs/campaign.pepperl-fuchs.de-cert.pem'
+ ssl_key: '/etc/pki/tls/private/campaign.pepperl-fuchs.de-key.pem'
+ docroot_owner: apache
+ docroot_group: apache
+ docroot_mode: '2775'
+ directories:
+ # directory_root:
+ - provider: directory
+ path: '/var/www/marketing'
+ addhandlers:
+ - { handler: "proxy:unix:/var/run/php5-fpm-marketing.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'
+
+# - provider: 'location'
+# path: '/s/'
+# require: 'ip 217.66.50.0/24'
+# require: 'ip 217.66.51.0/24'
+# require: 'ip 217.66.56.0/24'
+
+ setenv:
+ - 'MAUTIC_ENV live'
+ setenvif:
+ - 'Remote_Addr ^217\.66\.49\. mautic_access=true'
+ - 'Remote_Addr ^217\.66\.50\. mautic_access=true'
+ - 'Remote_Addr ^217\.66\.51\. mautic_access=true'
+ - 'Remote_Addr ^217\.66\.56\. mautic_access=true'
+ setenvif_ssl:
+ - 'HTTPS on HTTPS=on'
+# rewrites:
+# - comment: 'Weiterleitung auf https'
+# rewrite_cond:
+# - '%%{ich-trickse}{HTTPS} !=on [NC]'
+# rewrite_rule:
+# - '^(.*)$ https://campaign.pepperl-fuchs.de$1 [R=301,L]'
+# - comment: 'Weiterleitung auf Unterseite'
+# rewrite_cond:
+# - '%%{ich-trickse}{ENV:mautic_access} !=true'
+# - '%%{ich-trickse}{REQUEST_URI} ^/s/login'
+# rewrite_rule:
+# - '^(.*)$ https://campaign.pepperl-fuchs.de/feldbusmodule [R=301,L]'
+
+#infra::profile::cron::cronjobs:
+# mautic_update:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:segments:update >>$LOG 2>&1'
+# minute: '0,15,30,45'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/update.log'
+# description: mautic update
+# mautic_rebuild:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:rebuild >>$LOG 2>&1'
+# minute: '5,20,35,50'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/rebuild.log'
+# description: mautic rebuild
+# mautic_trigger:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:trigger >>$LOG 2>&1'
+# minute: '*/2'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/trigger.log'
+# description: mautic trigger
+# mautic_emails:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:emails:send >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/emails.log'
+# description: mautic emails
+# mautic_messages:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:messages:send >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/messages.log'
+# description: mautic messages
+# mautic_email_fetch:
+# user: apache
+# command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:email:fetch >>$LOG 2>&1'
+# minute: '*/5'
+# hour: '*'
+# environment:
+# - 'MAUTIC_ENV=live'
+# - 'LOG=/var/www/log/mautic/pepperlfuchs/email-fetch.log'
+# description: mautic email fetch