--- /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:
+ - CHOWNMAKLER
+ 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/ZLq4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ADAQABAAACAQCZgA46oR2anVdSQ6yvTWxGI8EiuydrBnwt1vVWhCQj0wsRqxXAK0inmGWP4Jf1xYwSEORu0KJtM1Je6g7A+9P0J9xQEuWqT/od0pP+c3qXvTh+C6NENp8rSRjBv6yHRh26zIsgfUk51bZK+wc3ZKUDO5K8T4w/Aaiel1d0sDMvEM9SDrtFxGzlHBREqZE0NAO1jCpYEY2L54vyiOVix4QITn4MKB1Tk7nGFh0b099lBpSJAyUrdT0igvX3UM2GcHI/iSoo3LhMeq44BJZAG8ol8P48yI6fhNpHOtaz1ICszvKl3SmtM3y0p7+dobYyHFDJuhfeAn2NtZUjaxZzZ/978XeCZQ1zEWAO1B0py0G8FcoaLDh9TQcyD1utSyYIjE+ba2oGpfU1HelYn6uR05SUGwiBgMVqidktgDT3UVGOUbf8dPWRRcTV+frz8tmhSVSVsTO50iAUdyIT5Bp710DHW/867GnuwjRmcCZyoQQ7ipgE4hXQw/FTcitFboU3/kTXt7Yh5Es7qTlfl1uGovJss7l6key/2ZjSzMSQgbjMLn/hdNHhUXp7NktZw5MdoS5ux80AMTLa6vOXkFKAhAJWXDZ1H4L5fioTzuHx0Vq5AvxVSkes0zLF9F6GyO9uyJ/pYx+TQ3SL4oNIpb+rFURpDssqFx/3yNKZ6vuLTG6Znw=="
+ comment: "Deployuser Hamburg"
+ group: makler
+ # temporaer
+ groups: apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNMAKLER = /bin/chown -R makler\:makler /var/www/makler
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(makler) NOPASSWD: ALL
\ No newline at end of file
---
-infra::role: base
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAMZLQtg4z6HZ7N6hy82Od4IHWE+PUz/OkzitgTn/EDiSJq2wahvzpFUEH4x/WgpzAjjCIs1+8wly7Qphn+N+HcVZEKZZCZgF714midfJijRhWM8NjV3KlqxgFtGvbSGDpPwcXB7Z6wr4WWAgRCCt+uSbnXC0hikrtgSSCeH/KvVUVl8bPUS37AJVqLDmCfywxd4Je7t+nqXH00VM3GZ/bJMfbxmlAs2vHg9m4ulnkLtClNa+yLR/2D32u9g0XlmxaM8wuTJzR31+48Btb68TSjVhbvpR7IJQx68RRaX8K7wiMTpSQdWY+vNbvF7MC9P3EArOs4MeJCehWuUNxoX0AaDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDdO57XxjM+XLkW2gl9Wx5zgBD22XsXT7++VMz4+j1kvgHm]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ makler:
+ servername: test-web-allianz-fuer-makler-de.pixelpark.net
+ serveraliases:
+ - test-www-allianz-fuer-makler-de.pixelpark.net
+ - test.allianz-fuer-makler.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: makler
+ passenger_app_env: stage
+ approot_owner: apache
+ approot: /var/www/makler
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/makler/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'
---
-infra::role: base
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEABIJtH/NQ0ziIyOELrnGPh9bLuxF0VmQ0XCvjPEqyuTH9Vca0yCCjW3HCvQ9HlLafcpU61c1OAPRMUIEJpNzkTvT7ZGOV74heAb9KM4xbHBhpGUMOvKygmNIuANH8zWUYWODtYMWjaw3cFTuOYikTSaIG/0DMMSh5URZTIXE/EHmUouB9P9QEF3LFujbnRQnEPLA2Osgj4OgW6h8auflqudWWmLaBdCFjnfCVHdV7AYPv1xh+vd7ZQqkixmGYmnTf/yBm4OW3MLi1F3uUBsJAOGuOO/UhYw370SmsFd4v2e+78eGiqBs+AGVTpq3Z6EUnXHd3Viax5bVSmtj4jqlJ4DA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD+ngienYeVz3zDIkRhWSm4gBD9MD41El/zDn+osOdX7wIS]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ makler:
+ servername: web-allianz-fuer-makler-de.pixelpark.net
+ serveraliases:
+ - www-allianz-fuer-makler-de.pixelpark.net
+ - allianz-fuer-makler.de
+ - www.allianz-fuer-makler.de
+ cert_servername: 'www.allianz-fuer-makler.de'
+ cert_customer: 'allianz'
+ ssl_cert: '/etc/pki/tls/certs/www.allianz-fuer-makler.de-cert.pem'
+ ssl_key: '/etc/pki/tls/private/www.allianz-fuer-makler.de-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/www.allianz-fuer-makler.de-cert.pem'
+ passenger_user: makler
+ passenger_app_env: live
+ approot_owner: apache
+ approot: /var/www/makler
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/makler/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'