Index: hiera/roles/web/eyeo.yaml |
diff --git a/hiera/roles/web/eyeo.yaml b/hiera/roles/web/eyeo.yaml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a21872ae54aecf793de4573b308c6489fb71b90f |
--- /dev/null |
+++ b/hiera/roles/web/eyeo.yaml |
@@ -0,0 +1,32 @@ |
+classes: |
+ statsclient: |
+ web::server: |
+ vhost: eyeo.com |
+ certificate: eyeo.com_sslcert.pem |
+ private_key: eyeo.com_sslcert.key |
+ is_default: true |
+ aliases: |
+ - www.eyeo.com |
+ - eyeo.de |
+ - www.eyeo.de |
+ custom_config: | |
+ rewrite ^(/de)?/index\.html$ / permanent; |
+ rewrite ^(/de)?/job\.html$ /jobs permanent; |
+ |
+ location ~ ^(/[^/]+/jobs)/ |
+ { |
+ error_page 404 $1/not-available; |
+ } |
+ repository: web.eyeo.com |
+ multiplexer_locations: ['/formmail'] |
+ |
+sitescripts::configfragments: |
+ formmail_template: |
+ content: | |
+ [DEFAULT] |
+ mailer=/usr/sbin/sendmail |
+ [multiplexer] |
+ sitescripts.formmail.web.formmail = |
+ [formmail] |
+ template=formmail/template/eyeo.mail |
+ |