Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: hiera/roles/web/eyeo.yaml

Issue 29325553: Issue 2974 - Integrate eyeo.com with Hiera (Closed)
Patch Set: Created Sept. 2, 2015, 1:54 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | manifests/webserver.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « no previous file | manifests/webserver.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld