- infra::profile::mongodb_server
- infra::profile::apache
-
infra::profile::mongodb_server::backup::replicaonslave: 'no' # Wir sind eine Standalone Instance
infra::profile::mongodb_server::backup::oplog: 'no' # we don't use an oplog
mongodb::server::master: true # Wir sind eine Standalone Instance
---
infra::role: base
+infra::additional_classes:
+ - infra::profile::mongodb_server
+ - infra::profile::apache
+
+infra::profile::mongodb_server::backup::replicaonslave: 'no' # Wir sind eine Standalone Instance
+infra::profile::mongodb_server::backup::oplog: 'no' # we don't use an oplog
+mongodb::server::master: true # Wir sind eine Standalone Instance
+mongodb::server::bind_ip: '0.0.0.0'
+mongodb::server::auth: true
+mongodb::server::create_admin: true
+mongodb::server::store_creds: true
+mongodb::server::admin_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAVpm1/hnN+2geQhxr2mkGws1/rXa9BgGWDMzU2Zsy3YVrRWxYbpPIi1UQjjDNyfnqUPx7CRFkWiq+1QvD/T7ctiDcJQ/kzdElf/BihE58jCkSCASTSNDmLEW4/NuLzJJc4IdJMAQY0xjXeUQqX9q+BlrQc+IW/ViHvt4FTVK609ANvX1aYacHzQEmvH+JXpgxydIFN7MYLNOqjFvIAxOGR0T5aUirBA1BTICMNcGFPKgA2v7C+WSR/yzw+AGW7vYr0A7qiGMLFWPLDru2R1pfj02tm1lQJp/QNxTN4soCYNFY7illBxZcNR133RVExKmGhdgw6eYf8b8d1f4TiJNS4jBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBKOrH5538hTRtesvWhfc/MgCCFshbWITJXe2M/WjdYDfDpKOgS0TQbNiOwXDxMcIV48A==]
+
+infra::profile::mongodb_server::databases:
+ servicepreisauskunft:
+ user: servicepreisauskunft
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEARSKMFlYkCT0I6+318XPx/ONDkSUBb4u5SPFsH+sNyjLXbKmycwJmCUH80To7FBN2WOrURdH1NQ9l6+Yb4Rce81d/hFez9dj2Fa4MqYIgdD/XZnOwQ/vx1Op58jVECYQw7BgY1PdhVuAvpre3uskfIonuggKwJg3e20yZsvT8y2MBZubQf6vyjs3yVVb13zRWDkt+zTAV314lZlNGUdh1b/oiX3IrkEp+0woYfmuGpkOebBn0wOdCAk7lyP6Gvqs/Y/KeI693o5qP2GU7DoelzQJpdf5KEGecgkXClDilRQu0MZAZkCiVcwdnU2LBUMWIpkk8vffidkEx7HnqXNBkvDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBB/GsJmkaVkHf4mrYybU8xBgCCcajXIuxxwZD27d8EbHyXMF1Fx7L268ejOq+TW3LRSvA==]
+ roles:
+ - dbOwner
+
+infra::profile::mongodb_server::backup::db_username: 'backup'
+infra::profile::mongodb_server::backup::db_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAOoY8Th/2MJeG8FswI42I1ozWwhD25AGlkBrB4a9VnTuXsxxFoNBe2wVuii9NPxzZ+Oh9SfESZzTkmKpGI97Qee8qhfSv78QxCypAsoUArZ0aza7Z1K54Lxcj/4QhonmWce5e9eSdxEWEFxNwsNoedgK9hdnOCrl3KKy3InwVZ5NLGj97BlOdysIgVU2gJNQYrw4ejmiiv0SrCWyUA60v33wPh2Rk4otWKdX2l4LcnCPH045k95JFzI7EV4cI70WcqUVn3B90sZHS/zhgfJ9oSzUXi5320poyGtPQeXar70LnxcnI9vUKm3hAQm3GAuaI579UUbu8ZWgs+viX+gqxbjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDGN0lUBhWarUmvm/mNyXpHgCCaH4qHc535eXK/jqs0WcxUqUS6awV45q9nsL5Jhhr04w==]
+
+infra::profile::apache::pp_vhosts:
+ mbvd-servicepreisauskunft:
+ docroot: /var/www/mbvd-pkw-servicepreisauskunft/current
+ servername: dev-servicepreisauskunft-mercedes-benz-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'
+ docroot_owner: apache
+ docroot_group: apache
+ docroot_mode: '0775'
+ no_proxy_uris:
+ - /server-status
+ proxy_preserve_host: true
+ proxy_pass:
+ - { path: /backend, url: 'http://localhost:8081/mbvd-pkw-servicepreisauskunft/' }
+ directories:
+ # Root Directory
+ - provider: directory
+ path: '/var/www/mbvd-pkw-servicepreisauskunft/current'
+ options:
+ - FollowSymLinks
+ allow_override:
+ - None
+ rewrites:
+ - comment: 'Alles auf https umleiten.'
+ rewrite_cond:
+ - '%{literal("%")}{HTTPS} !=on'
+ rewrite_rule:
+ - ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]
+
---
infra::role: base
+infra::additional_classes:
+ - infra::profile::mongodb_server
+ - infra::profile::apache
+
+infra::profile::mongodb_server::backup::replicaonslave: 'no' # Wir sind eine Standalone Instance
+infra::profile::mongodb_server::backup::oplog: 'no' # we don't use an oplog
+mongodb::server::master: true # Wir sind eine Standalone Instance
+mongodb::server::bind_ip: '0.0.0.0'
+mongodb::server::auth: true
+mongodb::server::create_admin: true
+mongodb::server::store_creds: true
+mongodb::server::admin_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAS6pjm0Qo+94MYLaFtOqzz9/jRET7qcmF1yWnCTqs9kf6hbWBzoEVS7Gghli226F0CulaS7ATic+Y6RBUjMJHFfCvSZLBNu6Srt+4SYBH5T6i6FkvIglXc8wj9sxr1g+bOQlvxam7Xz/yMkH8uCQUt2IsOvDGibX0AqbJc0PGFFWEBZ/vmXDE+vpaW+7A4lSFZcA4+EuThU9HqkP3jCKJW0Bs0z6gNYpyw6GqXbu/iChaAwqn27vA1gq5O+ELq0XMes692+dhJUdHhbS/uB1V/jV5T13bxrGCNKneQVtCag9s/Y5olMePk99tmoXSARDV0+vcpaQCSpUEqdoIcWhPdDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBAIffze1wOe8vMI6oKlr3SgCBuWNAk6z2ai6g9e9hi032UirxSnok6wd004vxve2UB/w==]
+
+infra::profile::mongodb_server::databases:
+ servicepreisauskunft:
+ user: servicepreisauskunft
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAXOl6AOaH7x0+5o8J1fJQBqak/s2TDgY+PMeppjSSUWmw8dNYvCCPxLNoIjPnU4teEsUkt00tubMr8IyCU55TRFTDSMuFIeWEmfTqP1MS+DVSOzVSRshZuPxdKIcRvtrQ5s7Ex6GqasA68SoTn4DZHcFtb6H3wT1RgK6EpBczyQV34UBNBotsxmD98lcQJYkj9Fxn0Cqsf2P0fSS3/Ypjqu4XNrbFYerRKM4h4hP13MLxGdunO60O8HXrwYZ0HYHDrzX+0U7FyS8p8X0O30GAuCWKiT93BCfcU2NNn3Zr9aWKr2xNPL53mIV3qpF8dWkf4No3Yu8HcJ0dMa7RILdiwzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDkfk+PTfGK2ouPpRBq7eM0gCDBnPlsuVdCDFg8YSxWViZ0WPZV86bI5p660QJ8ieKimQ==]
+ roles:
+ - dbOwner
+
+infra::profile::mongodb_server::backup::db_username: 'backup'
+infra::profile::mongodb_server::backup::db_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAnCqGaDtIqnWWaAcySpcFtrrpbxQQSg4PpJHXHllP0RoSvXzwAVywCDhNNvy0qPMfyjy7IV4BuyhYMVVnFfs8sgf5BlMrW8dugmAw6CUP4aSyqqgKW9umROtuOXIYl7SfvVtjdQBrK4p2nC8X5wE0ESNrGMBhGIpcy2b7noxDMjcT2LTJ3gqt2l1sQMs7/vy+hBphAhA+c97ouA19uUF2GoW5EPC8W8IyG1OuzDlt1+IZKtp6AXNbM7tHYKTG6euDVEPtIJBqMGZ06UfttvSEDkqawqql44+/SXuDHlCOTFLISh4TLOMFT0NfTS23Mn1A6NCw3Xo/2ubQYiMMbdN9tzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAj3sVW1+2mXPMfL5vYXLWVgCCoXWquM9TmuLddPRf4FdcuvSJnEbtaNs3znoQe7gJ98A==]
+
+infra::profile::apache::pp_vhosts:
+ mbvd-servicepreisauskunft:
+ docroot: /var/www/mbvd-pkw-servicepreisauskunft/current
+ servername: stage-servicepreisauskunft-mercedes-benz-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'
+ docroot_owner: apache
+ docroot_group: apache
+ docroot_mode: '0775'
+ no_proxy_uris:
+ - /server-status
+ proxy_preserve_host: true
+ proxy_pass:
+ - { path: /backend, url: 'http://localhost:8081/mbvd-pkw-servicepreisauskunft/' }
+ directories:
+ # Root Directory
+ - provider: directory
+ path: '/var/www/mbvd-pkw-servicepreisauskunft/current'
+ options:
+ - FollowSymLinks
+ allow_override:
+ - None
+ rewrites:
+ - comment: 'Alles auf https umleiten.'
+ rewrite_cond:
+ - '%{literal("%")}{HTTPS} !=on'
+ rewrite_rule:
+ - ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]
+