---
infra::role: base
+infra::additional_classes:
+ - infra::profile::ruby_passenger
+ - git
+
+infra::additional_packages:
+ ImageMagick: {}
+
+accounts::users:
+ jenkins:
+ apply: true
+ group: "apache"
+ deploy.hamburg:
+ uid: 60201
+ shell: "bash"
+ apply: true
+ sudo: true
+ sudo_cmds:
+ - CHOWNREITER
+ keys:
+ sandra.streimelweger:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQCx1a+GIaWp4/O1puvX9gYt5EMZcqNLyoxSU5sYNrIpuUYZ4mit2eVtsTbuE+gymXZ570v09sTI667p7I/cyoZ8HHsZ9x8yjDEDidKuRD7Sq+aqIdCcH3HLBZdEES8FvqyrcQNLbe4nPdqSrWievoR8VH6/wy7nhVb0A/UGID2XkZLVFJjlAfU22CxuererrCBASJo31ZkW/ScE1Lii2nBvs7PxL9+hyDnyP7fsVV/2fcy85c2reP3YO2jOTeVGnATPUNaL9KbonhxHr+SEWSvsE4tUlumxcqLa8wd/YQqrm0sO0GdqPEIfiUmhj24AltIxwmv/KnC8HODr7SQMyEsH"
+ tim.schroeder:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDIOt8MfbBxLSVZMrvWY3Yq24VMPbvx7I65Sdh8zqX2+QyJWv9vl9A6JMeXZbl20lXEmo0+q2HxxS/ZLq4v6ZyCdNCVIidTsYMo+w08+/QscWLwAv/rCMCdUOJnwpCAzr1DFMYJxRAEvy4AKppvsoYZ3KZkzKnmXbrN1267T+uKCyLhB/n+6rFVNc2Yso0OsUivg/Hcb2SWy9SUCpN85kubuQvLh4g8WmRGTB8CQtwYTA269KETZ86/gEErf8y2Sc9MwYEe91JW9hhnSVUKBDkEfxdU3Ctn3K5JHB49jq67spx1I0HDlB+M+u5TcIaU5gsPpgagY5NCIKGWgCmzANlZ"
+ sidney.jansen:
+ key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDEr3bnmo47iQIMvpdFN6khFPBTItqapoy1L+Cj9XHXkkuOesuGNDw56AEomzgpRn+3GqX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ZcCeQ8XDTbvHLjLlQdJznx3ezpxtmIgKLzMb3Hd3YNB+CAjD//iIDgJkwxNU2qGjm4vJT0WjQ2dwbPyVgN+Ik1nBhqWC2gD5UnDIVULYP5WUkgPPP1if64Q5fnfD9aTkUNOYJ4u9Th7As97e48S+/Z8vqw9EDcr3ZC+OzU7ezU65SHH4mpC1MvLW4EG0DU+omYDuMBusRA9SPx9uAebmoVVqZ23YmK5h9gh8Nc/Av5r6yfYKtkFt6CliGc7qZj56ONfHnP79CgVIlJ5NIHU2s27tTJmoDOHOkJZ11TuQp4HbuMAUAWHi6Aie7"
+ comment: "Deployuser Hamburg"
+ group: reiter
+ groups:
+ - apache
+
+sudo::configs:
+ cmd_alias:
+ priority: "05"
+ content: |
+ Cmnd_Alias CHOWNREITER = /bin/chown -R reiter\:reiter /var/www/reiter
+ becomeApache:
+ priority: "06"
+ content: |
+ deploy.hamburg ALL=(apache) NOPASSWD: ALL
+ deploy.hamburg ALL=(reiter) NOPASSWD: ALL
--- /dev/null
+---
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAZTN5WP6oq3aMsIFOY15tB5zYSouiO3sChK8Fd8uTERamdRDjTYu8bZF1xXdymren0du2GsPW5LNFfIpB8jkdoKhVSCbKTRftb+WnGyMAb+jsR+ly3t6KebkLMsXTt4LNhDiJgvs7yPMrxhYmhTXpc9fVPl7rzwlG04Fn9pN+5Du/M4YGxuMRk06KRQOC5329eRXSPVrChLE4G0oK1eZOIwv+EpbVpDMqaSeugHW3bAemNz5Z2JEwufCXWwEQK0hqfgPr+Oszk4DqEEOxvVAnKzMzICyh0226JsmSN18UmvbQBCOYGVBDKJnFQPZy4uYDXylpEVgWCPhGmw2irSb/2zA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBB1AMJ304qjOqoha+vghRTkgBDIK+XcqrUWKaA1p+6kfEoM]
+
+infra::profile::ruby_passenger::projects:
+ reiter:
+ servername: stage-web-reiterforumlive-mb-de.pixelpark.net
+ serveraliases:
+ - stage-reiterforumlive-mb-de.pixelpark.net
+ # es werden LB und WAF verwendet - SSL Certs liegen im Loadbalancer
+ ssl: false
+ passenger_user: reiter
+ passenger_app_env: stage
+ approot: /var/www/reiter
+ approot_owner: apache
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/reiter/public'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ - 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'
--- /dev/null
+---
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEATz0v9tmozNRSG5wDWz+eGvbCqwu1Bo/UmZt+/SV5WBffpqr9dxqfbgFupkBOaJIedYNsnjUpgVZjPrFxyjD2neTcPdo6EuOnftSqef+cvKGKuPDHOGtISY8ouxvDtUSBd14arKzIYg6Q+xVTOfZzAV1quV5cTq2UTQBG3S4Wl4fMxbfSjhiVWtbveGk9+wStposgxWr5/QmU8SuHuuJrCaDNy5+zReWR7h+lYgz6WxodmThdsxKtKTkIYxjULBF/pHIFMCcC5yPAXblj+CKaOeTxKcoGjdL0lO+MU2AYiwIxwCRFxoBmso5v+wT6CYxpyhbB9HpysoceaX5kvJf/uDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBB0f4f3yKg7vFZTjyMDchGCgBDMKqp+LWKbX0mP8s625mSW]
+
+infra::profile::ruby_passenger::projects:
+ reiter:
+ servername: web-reiterforumlive-mb-de.pixelpark.net
+ serveraliases:
+ - www.reiterforumlive.mercedes-benz.de
+ - reiterforumlive.mercedes-benz.de
+ - reiterforumlive-mb-de.pixelpark.net
+ # es werden LB und WAF verwendet - SSL Certs liegen im Loadbalancer
+ ssl: false
+ passenger_user: reiter
+ passenger_app_env: stage
+ approot: /var/www/reiter
+ approot_owner: apache
+ ruby_version: 'ruby-2.2.5'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/reiter/public'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ - 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'