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

Side by Side Diff: modules/updateserver/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 | « modules/trac/manifests/init.pp ('k') | modules/web/manifests/server.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 updateserver( 1 class updateserver(
2 $domain, 2 $domain,
3 $certificate,
4 $private_key,
3 $is_default=false 5 $is_default=false
4 ) { 6 ) {
5 class {'nginx': 7 class {'nginx':
6 worker_processes => 2, 8 worker_processes => 2,
7 worker_connections => 4000, 9 worker_connections => 4000,
8 ssl_session_cache => off, 10 ssl_session_cache => off,
9 } 11 }
10 12
11 File { 13 File {
12 owner => root, 14 owner => root,
(...skipping 18 matching lines...) Expand all
31 33
32 file {'/var/www/update/adblockplusie/update.json': 34 file {'/var/www/update/adblockplusie/update.json':
33 ensure => file, 35 ensure => file,
34 source => 'puppet:///modules/updateserver/adblockplusie/update.json', 36 source => 'puppet:///modules/updateserver/adblockplusie/update.json',
35 mode => 0644 37 mode => 0644
36 } 38 }
37 39
38 nginx::hostconfig{$domain: 40 nginx::hostconfig{$domain:
39 source => 'puppet:///modules/updateserver/site.conf', 41 source => 'puppet:///modules/updateserver/site.conf',
40 is_default => $is_default, 42 is_default => $is_default,
41 certificate => 'adblockplus.org_sslcert.pem', 43 certificate => $certificate,
42 private_key => 'adblockplus.org_sslcert.key', 44 private_key => $private_key,
43 log => 'access_log_update' 45 log => 'access_log_update'
44 } 46 }
45 } 47 }
OLDNEW
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | modules/web/manifests/server.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld