-
---
infra::role: base
infra::additional_classes:
+ - infra::profile::ruby_passenger
- infra::profile::postfix
- infra::profile::cron
infra::profile::postfix::virtual_aliases_source: 'maps/virtual-nullclient-mbvd'
infra::profile::postfix::cert_servername: 'wildcard.pixelpark.net'
+accounts::users:
+ deploy.hamburg:
+ uid: 60201
+ shell: "bash"
+ apply: true
+ sudo: true
+ sudo_cmds:
+ - CHOWNSHES
+ keys:
+ jenkins:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCcA9sDPUizm9LRPYsSQSkkXRlGfhkZcCeQ8XDTbvHLjLlQdJznx3ezpxtmIgKLzMb3Hd3YNB+CAjD//iIDgJkwxNU2qGjm4vJT0WjQ2dwbPyVgN+Ik1nBhqWC2gD5UnDIVULYP5WUkgPPP1if64Q5fnfD9aTkUNOYJ4u9Th7As97e48S+/Z8vqw9EDcr3ZC+OzU7ezU65SHH4mpC1MvLW4EG0DU+omYDuMBusRA9SPx9uAebmoVVqZ23YmK5h9gh8Nc/Av5r6yfYKtkFt6CliGc7qZj56ONfHnP79CgVIlJ5NIHU2s27tTJmoDOHOkJZ11TuQp4HbuMAUAWHi6Aie7"
+ sandra.streimelweger:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCx1a+GIaWp4/O1puvX9gYt5EMZcqNLyoxSU5sYNrIpuUYZ4mit2eVtsTbuE+gymXZ570v09sTI667p7I/cyoZ8HHsZ9x8yjDEDidKuRD7Sq+aqIdCcH3HLBZdEES8FvqyrcQNLbe4nPdqSrWievoR8VH6/wy7nhVb0A/UGID2XkZLVFJjlAfU22CxuererrCBASJo31ZkW/ScE1Lii2nBvs7PxL9+hyDnyP7fsVV/2fcy85c2reP3YO2jOTeVGnATPUNaL9KbonhxHr+SEWSvsE4tUlumxcqLa8wd/YQqrm0sO0GdqPEIfiUmhj24AltIxwmv/KnC8HODr7SQMyEsH"
+ alma.daschke:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAACAQCZgA46oR2anVdSQ6yvTWxGI8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+ groups:
+ - apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNSHES = /bin/chown -R shes\:shes /var/www/shes
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(shes) NOPASSWD: ALL
-# vim: et list
+infra::additional_files:
+ '/var/www':
+ ensure: 'directory'
+ owner: apache
+ group: apache
+ mode: '0775'
+ '/var/www/shes':
+ ensure: 'directory'
+ owner: apache
+ group: apache
+ mode: '0775'
+++ /dev/null
-
----
-
-
-
-
-# vim: et list
-
---
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEADDxIgoiLCSt5Z0q++YBL/xsOYl6O6yT0EokwHV5sBiIk4tIvLsbNk6IiBigdtENX2tY9pcP9W06eCapebOh43VL1mv0d3kd22Pqg6NPZ0iX6I+2+G51Ttp1PIFRBhpiBAUt54GPPBiAwJqmTq1YK+buXcWcaI5Rgo3jhe+rqjGIFH6+bl0AN/9Ah78z+bHaiXER0+LLqegYhVc/xZQix/XGYF5rRXNKTy2Pu+TxU0jArap3bEYpHxsREykbugM05upe444eg25xLes4j2xQSP1ZblV6o+4QqoliTAo7jEML59eaPv9SD2Ddm1al5+UStU2Q/ryTVRVBa+yXOSTzCeTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBrKrDhjnsu7kexmMsL/CUwgBBbSvtMUbNi4Mh0Asv5TiL5]
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
-
-
-# vim: et list
+infra::profile::ruby_passenger::projects:
+ shes:
+ servername: stage-web-newsletter-shesmercedes-de.pixelpark.net
+ serveraliases:
+ - stage-newsletter-shesmercedes-de.pixelpark.net
+ 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: shes
+ passenger_app_env: stage
+ approot_owner: apache
+ approot: /var/www/shes
+ ruby_version: 'ruby-2.3.1'
+ directories:
+ - provider: directory
+ path: '/var/www/shes/public'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ directoryindex: 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'
+++ /dev/null
-
----
-
-
-
-
-# vim: et list
-
---
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAVw3pGwQ6TxtRegKGIbHXWPPpq+MJijBQyKeC8ez6edWe/Q7kiVMpaGvLTSl6DOUrO9rahiiDQ0ZqR8LNMiiJKuMjJ2SrKYg0WF1t3q+RuqTFIXyocvVWl4pHSQAB+1bIpIaBzrFANY0A6uLnus1L6s61ZmQBO3xfvTJfYQ2qx7KzfQ9zQs64wRIugyk9mNCzAxhUuBmW7V7OHjmSp4wdO3CFA7JG1KJ+n9odbzox3UbXnJgP/BOCthc5h3gaBxG2bzmNDhtxcIcuKzszWY4+ZLFwHJTXl8nsapfMjJ6lXsA2YnKEQjetHncEs50CcQGNf15ia9BvGJ+DCIfYgla6AzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBbAvXiGfW2B11EiUkHeaPogBAbefHXhYJYN3GxgTO3FyuL]
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
-
-
-# vim: et list
+infra::profile::ruby_passenger::projects:
+ shes:
+ servername: web-newsletter-shesmercedes-de.pixelpark.net
+ serveraliases:
+ - newsletter-shesmercedes-de.pixelpark.net
+ - newsletter.shesmercedes.de
+ 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: shes
+ passenger_app_env: live
+ approot_owner: apache
+ approot: /var/www/shes
+ ruby_version: 'ruby-2.3.1'
+ directories:
+ - provider: directory
+ path: '/var/www/shes/public'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ directoryindex: 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'