OLD | NEW |
1 node 'web1' { | |
2 include statsclient | |
3 | |
4 class {'web::server': | |
5 vhost => 'eyeo.com', | |
6 certificate => 'eyeo.com_sslcert.pem', | |
7 private_key => 'eyeo.com_sslcert.key', | |
8 is_default => true, | |
9 aliases => ['www.eyeo.com', 'eyeo.de', 'www.eyeo.de'], | |
10 custom_config => ' | |
11 rewrite ^(/de)?/index\.html$ / permanent; | |
12 rewrite ^(/de)?/job\.html$ /jobs permanent; | |
13 | |
14 location ~ ^(/[^/]+/jobs)/ | |
15 { | |
16 error_page 404 $1/not-available; | |
17 } | |
18 ', | |
19 repository => 'web.eyeo.com', | |
20 multiplexer_locations => ['/formmail'], | |
21 } | |
22 | |
23 concat::fragment {'formmail_template': | |
24 target => '/etc/sitescripts.ini', | |
25 content => '[DEFAULT] | |
26 mailer=/usr/sbin/sendmail | |
27 [multiplexer] | |
28 sitescripts.formmail.web.formmail = | |
29 [formmail] | |
30 template=formmail/template/eyeo.mail', | |
31 } | |
32 } | |
33 | |
34 node 'web2' { | 1 node 'web2' { |
35 include statsclient | 2 include statsclient |
36 | 3 |
37 class {'web::server': | 4 class {'web::server': |
38 vhost => 'adblockplus.org', | 5 vhost => 'adblockplus.org', |
39 certificate => 'adblockplus.org_sslcert.pem', | 6 certificate => 'adblockplus.org_sslcert.pem', |
40 private_key => 'adblockplus.org_sslcert.key', | 7 private_key => 'adblockplus.org_sslcert.key', |
41 is_default => true, | 8 is_default => true, |
42 aliases => ['www.adblockplus.org'], | 9 aliases => ['www.adblockplus.org'], |
43 custom_config => template('web/adblockplus.org.conf.erb'), | 10 custom_config => template('web/adblockplus.org.conf.erb'), |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 include statsclient | 107 include statsclient |
141 | 108 |
142 class {'web::server': | 109 class {'web::server': |
143 vhost => 'acceptableads.org', | 110 vhost => 'acceptableads.org', |
144 certificate => 'acceptableads.org_sslcert.pem', | 111 certificate => 'acceptableads.org_sslcert.pem', |
145 private_key => 'acceptableads.org_sslcert.key', | 112 private_key => 'acceptableads.org_sslcert.key', |
146 is_default => true, | 113 is_default => true, |
147 repository => 'web.acceptableads.org', | 114 repository => 'web.acceptableads.org', |
148 } | 115 } |
149 } | 116 } |
OLD | NEW |