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

Side by Side Diff: manifests/webserver.pp

Issue 4894914248704000: Issue 254 - Switch from wildcard certificate to certificates for individual hosts (Closed)
Patch Set: Created April 10, 2014, 9 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « manifests/updateserver.pp ('k') | modules/discourse/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 node 'web1' { 1 node 'web1' {
2 include base 2 include base
3 3
4 class {'web::server': 4 class {'web::server':
5 vhost => 'eyeo.com', 5 vhost => 'eyeo.com',
6 certificate => 'eyeo.com_sslcert.pem',
7 private_key => 'eyeo.com_sslcert.key',
6 is_default => true, 8 is_default => true,
7 aliases => ['www.eyeo.com', 'eyeo.de', 'www.eyeo.de'], 9 aliases => ['www.eyeo.com', 'eyeo.de', 'www.eyeo.de'],
8 custom_config => ' 10 custom_config => '
9 rewrite ^(/de)?/index\.html$ / permanent; 11 rewrite ^(/de)?/index\.html$ / permanent;
10 rewrite ^(/de)?/job\.html$ /jobs permanent; 12 rewrite ^(/de)?/job\.html$ /jobs permanent;
11 ', 13 ',
12 repository => 'web.eyeo.com', 14 repository => 'web.eyeo.com',
13 multiplexer_locations => ['/formmail'], 15 multiplexer_locations => ['/formmail'],
14 } 16 }
15 17
16 concat::fragment {'formmail_template': 18 concat::fragment {'formmail_template':
17 target => '/etc/sitescripts.ini', 19 target => '/etc/sitescripts.ini',
18 content => '[DEFAULT] 20 content => '[DEFAULT]
19 mailer=/usr/sbin/sendmail 21 mailer=/usr/sbin/sendmail
20 [formmail] 22 [formmail]
21 template=formmail/template/eyeo.mail', 23 template=formmail/template/eyeo.mail',
22 } 24 }
23 25
24 class {'nagios::client': 26 class {'nagios::client':
25 server_address => 'monitoring.adblockplus.org' 27 server_address => 'monitoring.adblockplus.org'
26 } 28 }
27 } 29 }
OLDNEW
« no previous file with comments | « manifests/updateserver.pp ('k') | modules/discourse/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld