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

Side by Side Diff: modules/discourse/manifests/init.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/webserver.pp ('k') | modules/downloadserver/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 class discourse( 1 class discourse(
2 $domain, 2 $domain,
3 $certificate,
4 $private_key,
3 $is_default = false 5 $is_default = false
4 ) inherits private::discourse { 6 ) inherits private::discourse {
5 7
6 include postgresql::server 8 include postgresql::server
7 9
8 postgresql::database {'discourse':} 10 postgresql::database {'discourse':}
9 11
10 postgresql::role {'discourse': 12 postgresql::role {'discourse':
11 password_hash => $database_password, 13 password_hash => $database_password,
12 db => 'discourse', 14 db => 'discourse',
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 worker_connections => 500 280 worker_connections => 500
279 } 281 }
280 282
281 nginx::hostconfig{$domain: 283 nginx::hostconfig{$domain:
282 source => 'puppet:///modules/discourse/site.conf', 284 source => 'puppet:///modules/discourse/site.conf',
283 global_config => ' 285 global_config => '
284 upstream discourse { 286 upstream discourse {
285 server localhost:3000; 287 server localhost:3000;
286 }', 288 }',
287 is_default => $is_default, 289 is_default => $is_default,
288 certificate => 'adblockplus.org_sslcert.pem', 290 certificate => $certificate,
289 private_key => 'adblockplus.org_sslcert.key', 291 private_key => $private_key,
290 log => 'access_log_intraforum' 292 log => 'access_log_intraforum'
291 } 293 }
292 } 294 }
OLDNEW
« no previous file with comments | « manifests/webserver.pp ('k') | modules/downloadserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld