--- /dev/null
+---
+infra::role: base
+infra::additional_classes:
+ - infra::profile::ruby_passenger
+
+infra::additional_packages:
+ ImageMagick: {}
+
+accounts::users:
+ deploy.hamburg:
+ uid: 60201
+ shell: "bash"
+ apply: true
+ sudo: true
+ sudo_cmds:
+ - CHOWNPOPUPBOX
+ keys:
+ sten friedrich:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDdaOjZvSaf/wtaS5F8bu4+gIUXha2DiRBZo2pLx79N5fUkBK1mha8IHfQ40iRJwQzr1cKRswEi3Qo8pGYOzNoPs9ugw+r07eMrwLGoNGIFTCv0SaukmtwM+9S1z7hxyy21TztQCAcmgKN4l8jvMKFKb/3Qm+UkroHAf5B+VhlGL/IZXnuSXlTHgKcnS2HtbXlzWRkWHgyjwxT6UmSO31Eyg1SRJ9mFdxwjZo5lyzbBP/gqAQqzxoZX7U4Ty2loO6hqNusf25Byn2qK3x+dQGZ9g/t1luW2oTFavWwY0PR/djyL1ndlgZ69jCAY3YYvHRvoD91gJjHA582hVg4IkCHx"
+ sandra.streimelweger:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCx1a+GIaWp4/O1puvX9gYt5EMZcqNLyoxSU5sYNrIpuUYZ4mit2eVtsTbuE+gymXZ570v09sTI667p7I/cyoZ8HHsZ9x8yjDEDidKuRD7Sq+aqIdCcH3HLBZdEES8FvqyrcQNLbe4nPdqSrWievoR8VH6/wy7nhVb0A/UGID2XkZLVFJjlAfU22CxuererrCBASJo31ZkW/ScE1Lii2nBvs7PxL9+hyDnyP7fsVV/2fcy85c2reP3YO2jOTeVGnATPUNaL9KbonhxHr+SEWSvsE4tUlumxcqLa8wd/YQqrm0sO0GdqPEIfiUmhj24AltIxwmv/KnC8HODr7SQMyEsH"
+ tim.schroeder:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDIOt8MfbBxLSVZMrvWY3Yq24VMPbvx7I65Sdh8zqX2+QyJWv9vl9A6JMeXZbl20lXEmo0+q2HxxS/Z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 # temporär
+ groups: apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNPOPUPBOX = /bin/chown -R popupbox\:popupbox /var/www/popupbox
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(popupbox) NOPASSWD: ALL
\ No newline at end of file
---
-infra::role: base
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAaq6IJsi946XSmLlYAfsopo3Q77WpnLvpViohN4LgQj3fGUjUnjZPGi5acaEWl5Q4vmAVlmlz6/B1AjL4NQ85C7JxMayAchn60kseLRjKgXTnobaeMNCXv7rpQKR+Pwre3tvUkWG62pDhldkjuX1U5UNr/abNEmCwZy6980Nh1Dc5cbK2ONcOceSmudauEj3+YocSI5rbjNrBGqliR2cTgWfKUHB1vR7fDvZvFfSVcfFbNsqgcC3g8sROAIN9v9+xdwAPsGEe2JNLqz+1a1+3yB4arNBDFN43W5k0C67oGEN9cYhs4PAy/jqKR8YGDaC5DbfmEMOHG10enDfSqrAQFzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCUkQFOiu8KLa6wQWtH6ZpAgBBpnQHGUJIUD3DkBqObIyTg]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ popupbox:
+ servername: stage-web-pop-up-box-dialog-mercedes-benz-de.pixelpark.net
+ serveraliases:
+ - stage-aktion.mercedes-benz.de
+ ssl: false
+# cert_servername: 'wildcard.pixelpark.net'
+# cert_customer: 'pixelpark'
+# ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+# ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+# ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ passenger_user: popupbox
+ passenger_app_env: stage
+ approot_owner: apache
+ approot: /var/www/popupbox
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/popupbox/public'
+ 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'
\ No newline at end of file
---
-infra::role: base
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAbMRl3tAfVuJsN7ojyc+IOHghdxdMBG0LzJ5SZ7I5DO45hzTYjWnSfQ+tgD7/rEEyl5ReANwcgTG8rj4qpnRO2jQ6gsdxHUm7p1cJsFLdsDYcUL/JnVMiELtWLlithUD+e9N0/If/YuY3AnXycYBW11z1OUgzPf2XrRcaMrq5VXMaYcabqCt+X6kgsotpoox1W8cYpU7aqHQRe3UE8/c/oTWSeIYVRYxpbxpU/jnenD5ze/U4kazwRf7qVBvjITsd4/X7KTmAAqWF8bver/oKN5Q4INFzGLHHoU9kaFfqSYXFCAHmw8a4rK4Y2+Yayu7JR0feNe3TRpGhEwNRZGO/fDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCvNHxKgu0UFJJ8WifghFQKgBBAVEZ+WVT4Wdrd4BKmzyVm]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ popupbox:
+ servername: web-pop-up-box-dialog-mercedes-benz-de.pixelpark.net
+ serveraliases:
+ - aktion.mercedes-benz.de
+ ssl: false
+# cert_servername: 'wildcard.pixelpark.net'
+# cert_customer: 'pixelpark'
+# ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+# ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
+# ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
+ passenger_user: popupbox
+ passenger_app_env: live
+ approot_owner: apache
+ approot: /var/www/popupbox
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/popupbox/public'
+ 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'
\ No newline at end of file