]> Frank Brehm's Git Trees - pixelpark/hiera.git/blob
560fd0cc5ded8eab1f893622e7e5b6252ddb7dbb
[pixelpark/hiera.git] /
1 ---
2 site::role: base
3 site::additional_classes:
4   - site::profile::mysql_server
5   - site::profile::apache_php
6
7 mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEArinO03Q8KKBxcnJce0HDyPRWkm8XbcR7dlatca1ijdoLPAKzKpjo9mjBFjN26VMSf5s46VAHF5kXFGWJrUcnLGW5MT3Z3AI7Y68N4A2apnK7A1GV+094b7GsgCeRTRxobiwQ96Rg+/xHRpqfPy2SfVK4iiJISeShPoT2SgiUFjYOK9hUJJFasUT4rzDznkdDCWhDpZJ37ShznSUBkegfKfPfFefKyq8OGhJdYGx1bOEkER9bC/veoNt5AbZ6IKW2W3Qwn0NzUZ7nz7LA0jo1FJqv9wLSIRZoX4R3iUszQPJ9tveafm73WammiFQDXXF3MNfBOcSC+zxqgyu6fR8mxjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCApmPFz3/3zqHrUP3j7KE4gCApiQZYaSkrLYUCLrZZ6P+w6tOhoDuT1XKr5lgXu0KVxQ==]
8 mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAWw3p5zamaqFh0VFyTMSLfgpJq3ib+uAjeYmwUkYdYSdhAnYJwg1bchfT0HVBeZIuLVME1ufbN/i80vDrHrI+++0etTrCJjXo0dVbz2r3Oh5DuopJXLzwUCZYBftFxZhxyhCeB98mKQwD26gmefEihGn9SZotg8Cktah1D3Qku2M2J3VfmjkPlopJ5A5XHVoXac4petpIsbA7HRsC7pL+gSli+p6sUhT0gf1Vlu8J7kU3tPuAEieSCwy7qrWsqJLLXafa3FvqvGSEzB0qIXhbNHMq/SSGW5xzOQcvjr8NP9YbjSTpwX5LbP4x0t8CUfmOzyGHhb0QpYRVeDNZnw75yzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBtVjGMNLzAGEDhJKEc+TRsgCDnZJtdabqU7nelnEU7zNKIebiaHcp/nB6wETB0IfQtNw==]
9 site::profile::mysql_server::databases:
10   christmas:
11     user: christmas
12     password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAPRfO6ClGW2/tV0jFlSw//K08vXxvoxYV+cOZbcs/zY8VrSa0+VXbNEKuwFuSeaM9Ae1MwdW+OnJevNG8oNWtswOYU6OVd0Jq0LqaF5J2lQ6KFtnWT186QyulnewLOq953JX2QJup+2nfOCJD0/ArvaxYFJFpfssNaRPU/8w1olXa0Gxa64xTo0ef1hQFkTl9vKJ65/yUPYysxHLRy7G4wugg4W28J2s3FKCLfktdS3yeKAgPMtJiY9BTPcFKMnsFclgL7S77p+ZfWn4k7WBKtKqF2cHAtvwhBk8zLdEY233rmUqqYI4Idwelo6MQxcCinBWuqWmtTrOG6hS58J/RbzBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD+PfDTa2yU4pG6uU7KCZ8sgCA3wBRxbMV01RTLfxlk8zQlpf2t++oDGsxfZIImL66Gaw==]
13
14 site::profile::apache::htdigest:
15   server:
16     www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAZ3Cp2u/V6W1QYd9QbDmemUpkN/yOgOa8v5kH+FDxO+jEs4XDd95iOugiOd4iz4WZzn/f2PCLiDq+SDWZ7jXn42hiHNmytKseYJptSc9mB+bQ+kiLPX732U40uWtUkz3egwE/Vj181RGtTvHkv0D9dCNxL+f4PUkldwbU/poNiMyiFmgwAChkY8NOQ+jza6GnVitQF9onOed7AyNZ4JFyRx2QHMGVU+4E8Vjt612/e4Cn9IEh5F6TOVrhH12SIQjLfnPpYnpAZHVQGuZHqYFtN5ILNyubuFkNJNW5svOpRjg655JGNKT9RxtBLpIJ/w8lDMvx2YlTpAb2uZy/6RuJpDA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBCuUjIH/tKA+gabSvvvzwangBBEad1KKaxy+sgwRTUV8Jx8]
17
18 repo::remi_php56: true
19
20 # php::settings:
21 #   Date/date.timezone: Europe/Berlin
22 #   PHP/expose_php: 'Off'
23
24 php::extensions:
25   gd: {}
26   opcache: {}
27   mbstring: {}
28   xml: {}
29   mysqlnd: {}
30
31 site::profile::apache_php::fpm_pool:
32   christmas:
33     listen_owner: apache
34     listen_group: apache
35
36 php::fpm::pools:
37   www:
38     ensure: absent
39
40 apache::default_vhost: false
41
42 site::profile::apache::pp_vhosts:
43   christmas:
44     docroot: /var/www/christmas
45     servername: christmas-greetings.vans.mercedes-benz.com
46     serveraliases:
47       - www-christmas-greetings-vans-mercedes-benz-com.pixelpark.net
48     ssl: false
49 # es werden LB und WAF verwendet
50 # SSL Certs liegen im Loadbalancer 
51 #    ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
52 #    ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
53 #    ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
54 #    ssl_cert: '/etc/pki/tls/certs/christmas-greetings.vans.mercedes-benz.com-cert.pem'
55 #    ssl_key: '/etc/pki/tls/private/christmas-greetings.vans.mercedes-benz.com-key.pem'
56 #    ssl_chain: '/etc/pki/tls/certs/christmas-greetings.vans.mercedes-benz.com-cert.pem'
57     docroot_owner: apache
58     docroot_group: apache
59     docroot_mode: '0775'
60     directories:
61       - directory_root:
62         provider: directory
63         path: '/var/www/christmas'
64         addhandlers:
65           - { handler: "proxy:unix:/var/run/php5-fpm-christmas.sock|fcgi://./" , extensions: '.php' }
66         options:
67           - FollowSymLinks
68           - MultiViews
69         allow_override:
70           - All
71         directoryindex: 'index.php'
72       - location_root:
73         provider: locationmatch
74         path: '^/!(server-status|server-info)'
75         auth_type: Digest
76         auth_name: christmas
77         auth_digest_provider: file
78         auth_digest_algorithm: MD5
79         auth_user_file: '/etc/httpd/htdigest'
80         auth_require: 'valid-user'