--- /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:
+ - CHOWNSTERNE
+ 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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är
+ groups: apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNSTERNE = /bin/chown -R sterne\:sterne /var/www/sterne
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(sterne) NOPASSWD: ALL
\ No newline at end of file
---
-infra::role: base
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAFEmzqxX8pIwYQtblyV//BInWV6tg/7hEtQCdp4mmhWuZ7KnA3NY4UEBpm8zwAqI/5ma0NLwijrOJUQ7exluSCyoJuEJVbItzXLDCNRX9PEbu365LG9OiwIuvQOYWecHn+CkKauQC2gZyBhQ1LDeV47Pt6zBwNGyq03coaGRPfEMDj7Au/MuFxamlF0R18fEHB7P6bGpYVKaOCL/YdnQuRwnhrTtGw2MB0Ecf90lUhWMOlz6iJpUFsAOWe85mDCvr9hFlMa6AktI7lV6rZ5r3MY+xlRWxaWEd1CaiHxCRPJd4PW79uJQsKkSXnjOSOS4A/4uGyWSuexWe840OuIH+NDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDaYsxGJxy47mxu8GFCOQe1gBAdP4L2uPT0vBU9rPW3miRV]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ sterne:
+ servername: stage-web-junge-sterne-transporter-de.pixelpark.net
+ serveraliases:
+ - stage-www-junge-sterne-transporter-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: sterne
+ passenger_app_env: stage
+ approot_owner: apache
+ approot: /var/www/sterne
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/sterne/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,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAemasWU6mPmWCF9zlgLcJuWXiVUr4VDg4mFzmCf6QCR5FFpw8ibYRgnATjmMsTyI3PrYldWZtJNeXaRnq/jNbHjzHJ44D8DdZ3+9QdcoACTPc/9ovU3EspH/AhMI74XxexiYB6btihsFg7b1/whPlT4E6gqmgf23Afula56BxDRhi4aD9+bpRYuLZR7hA+luz/mDradSHkMYbSuz0aFx31u28HAtAWik6VCxbLc9fMSbjQfxGGSugTD9Vxi/clCRAeAg1WNvKWDZ/734N3Pb/3GiFQZA2kJnoSRVuAHiv65jKzWB8FnhMKt2whatwsVwoofxe6mIyNVDQ6PsEHBLM2DA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBA2AzZujKPEranFfBoenhwNgBD7q6UiR6TNGlwWpPvYKX9y]
+
+sudo::configs:
+ deploy.hamburg:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+
+infra::profile::ruby_passenger::projects:
+ sterne:
+ servername: web-junge-sterne-transporter-de.pixelpark.net
+ serveraliases:
+ - www-junge-sterne-transporter-de.pixelpark.net
+ - www.junge-sterne-transporter.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: sterne
+ passenger_app_env: live
+ approot_owner: apache
+ approot: /var/www/sterne
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/sterne/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'