---
infra::role: base
+infra::additional_classes:
+ - infra::profile::apache
+ - infra::profile::mysql_server
+ - java
+
+java::package: java-1.7.0-oraclejdk
+
+accounts::users:
+ carsten.hensiek:
+ apply: true
+ sudo: true
+ group: apache
+
+mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAGwP1VSTmbXEmb+wJ4mFdnFvVGYLcLX6GD41+KBUs7yDen2t71Nb13nwzBzF7yO4+SOtIvXlkHLxWTCYgzawwvja4me8rMhVSiyiAnfuKr8nBVUApvNXnZ1fEFjU4bSbR9MzMgAA3haqsH5XxnwOMCluBqCfPCShgT4FXNNkHOjuuxbAgGvSOUPnnSnmX44qFwMsJCLBGga/wQ6LycqdeAuYlxRlpHi/v3kMHZYvSKbBTP7zyu5pOyDa++XdyguejVWNo7Zl3vHMubGUt4CLBzGfXLWzXxNI/ts7xQQbkhqp2LNxj/pl1oiiSgbA1BoCe7Kk+qUcRQPOzCq1eLdXJijBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDQd1Wt/vgFkQNkvQxOqoEPgCDi7Ae183xjugU2twNpBZiYN+u0Q9Zj7Z1UrgoIW/ccEQ==]
+mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAG3sq/OsEVwUidT/vJSihejYoZUSbH3QhHc0A12z+/syFNfkO8MzuiyVmZ2956RqE2lsKnObEaa1N3IguVxwSSaA/WXPggzRhGm1Zb8mN/0ZUrxq3SjnsjhNeKO75UgB93QSmrXQ2wl3R93IMq5X/18rwoL2FfKpM+DPNjS154/732N7R/mxEFrK991pcer74leCnLl0sVTrPNZwBLgHxkJTNDyx8t/Px67GFxHVJUWWwnMNlxNcF7zrW0YGzu7bgje661HWtcwakzOP+f86StjmaD2EdA+QQ3b6KNlsSjFjPbZSKqfJI584hZd9EqHHubj3QkxvH/IpcY4gV3ABuFTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBZ2/zLWRa/TlUHcW2hRZqCgCBTNv9MTR+jthgKbN0nBN5iBpqwFV8hvZWwzrB5rdXRig==]
+infra::profile::mysql_server::databases:
+ kendrion:
+ user: kendrion
+ password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEACIgN+EXROTNwCmTdGyGdzYSiaIQSUBAoxhftyTKBDOHaVJNtW/YL31auLSshFLvx1KfPW/bXyqbyW4/DyiiNCZ3NJPm9Dqlcef9DjIu3U49bY4uAbpmxkYYNZapLXOgolOG8mEntBG9QPIyoZQEubNRa06p53tttH3a8TG5+H4EduEE7JE40f+34XP2zSMoz3OUBB79k+CueKoiSIIX+dB9WYyDUsYCPNsduW8Atusv6nK7sa5WUoEUBxLwYUS3w3LDjBWj7/NouyAbNMvAgtFHvB2gMfy0ITDoS6MzF7SN3W0JZ/npdSgLNE8Qm2rDbA1/Cf5NBnW7dqJpYIB8SqTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBJ+5NyTPjIU8W63o9YiwskgCCWnz8di5dF4u8NciIOFJS2/QHhmvPnZH3ZsE+GO/5MfA==]
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAId2OuZ3jtQUVetSltCEBcFiZ+/ZHabXZbX1u7k5qlL77pJ3zJ9ebyp608OTBYjKYsqtFCpo/jmLzUDkgxRf7OuTDg18EPnxx0YCR06dh81eSwgXs06lelULeyvd4v29U4ePiPDKEB1nP/X/yw1NT1SChHdbsN8RcLWXldSEabI40nI44IjTT2GzuYWfh+i2x4Y+xzyKUAHK+qlAvNw7KrymkogsjEG9CRbS9erMSpg5QPE0ARjxqb4THbB61WLVts0uM3Z2RVgf33qARdhrLPS8Jiu0sSUmHkNwmYfq2oKcZ1VsBSofT7NPwnQd5Lo9j+n0s/mZQLAN33ohBDuj5rDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAStXhjXLMUGvUsubQtYARkgBCfi4JRmu0R4Y8dWw0YVfOH]
+
+infra::profile::apache::pp_vhosts:
+ red-kendrion-com:
+ docroot: /www/htdocs/red.kendrion.com/docs
+ servername: red01-kendrion-com.pixelpark.net
+ serveraliases:
+ - red.kendrion.com
+ cert_servername: 'wildcard.kendrion.com'
+ cert_customer: 'kendrion'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.kendrion.com-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.kendrion.com-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.kendrion.com-cert.pem'
+ docroot_owner: apache
+ docroot_group: pixel
+ docroot_mode: '2775'
+ directories:
+ - provider: directory
+ path: '/www/htdocs/red.kendrion.com/docs'
+ 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'
+ rewrites:
+ - comment: 'Weiterleitung auf https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://red.kendrion.com$1 [R=301,L]'
+ setenvif_ssl:
+ - 'HTTPS on HTTPS=on'
\ No newline at end of file
---
infra::role: base
+infra::additional_classes:
+ - infra::profile::apache
+ - java
+
+java::package: java-1.7.0-oraclejdk
+
+accounts::users:
+ carsten.hensiek:
+ apply: true
+ sudo: true
+ group: apache
+
+infra::profile::apache::htdigest:
+ server:
+ www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAjhkzCFCZw5G3scsdYr/NEIUNHNHk/1zC/XrvsETh/fvMozwAJnKYWqIFv94448MK2FM5UaUBAG04tkQ8ytHaqnYBa+KKLSHWofxSoCdU3w0P4rxh6crhWf6E+pkXryX1EDYjLHnV8LZM7dGT7he06YhjKLxgdYqGjGNw33hm8JuJoRTsYNcCn26N/ctFCLO5G1C3vGWmKUcut4ECxjAC9AJqWU937mR0PIpc779OOXZbVOkn9yObpGyJieJk7Qpt0bYPunkx3ab5uZbv3CXBAXHNWVejyrC93w0HKIchcfmsB0WTtkPE+xwqffcekkC/c4JK6EiSluBQimc3PE2bCzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDwMNtCje+5rSDCahcUNjXHgBB0A9smqBwpESDtE9cy1gI0]
+
+infra::profile::apache::pp_vhosts:
+ www-kendrion-com:
+ docroot: /www/htdocs/www.kendrion.com/docs
+ servername: www01-kendrion-com.pixelpark.net
+ serveraliases:
+ - www.kendrion.com
+ - kendrion.com
+ cert_servername: 'wildcard.kendrion.com'
+ cert_customer: 'kendrion'
+ ssl_cert: '/etc/pki/tls/certs/wildcard.kendrion.com-cert.pem'
+ ssl_key: '/etc/pki/tls/private/wildcard.kendrion.com-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/wildcard.kendrion.com-cert.pem'
+ docroot_owner: apache
+ docroot_group: pixel
+ docroot_mode: '2775'
+ directories:
+ - provider: directory
+ path: '/www/htdocs/www.kendrion.com/docs'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ directoryindex: index.html index.jsp
+# - 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'