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

Side by Side Diff: modules/adblockplus/manifests/legacy/webserver.pp

Issue 29531703: #3197 - Use of hash for parameters in legacy website (Closed)
Patch Set: Created Aug. 30, 2017, 5:01 p.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 | « hiera/roles/web/adblockplus.yaml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # == Class: adblockplus::legacy::webserver 1 # == Class: adblockplus::legacy::webserver
2 # 2 #
3 # A container for migrating obsolete resources in web2, formerly located 3 # A container for migrating obsolete resources in web2, formerly located
4 # in manifests/webserver.pp. 4 # in manifests/webserver.pp.
5 # 5 #
6 # See http://hub.eyeo.com/issues/2007 for more information. 6 # See http://hub.eyeo.com/issues/2007 for more information.
7 # 7 #
8 class adblockplus::legacy::webserver { 8 class adblockplus::legacy::webserver (
9 $website = {},
10 ) {
9 11
10 class {'web::server': 12 ensure_resource('class', 'web::server', merge({
mathias 2017/08/30 17:41:37 This is now a new mechanism on top of Puppet's in-
11 vhost => 'adblockplus.org',
12 certificate => 'adblockplus.org_sslcert.pem',
13 private_key => 'adblockplus.org_sslcert.key',
14 is_default => true,
15 aliases => ['www.adblockplus.org'],
16 custom_config => template("web/adblockplus.org.conf.erb"), 13 custom_config => template("web/adblockplus.org.conf.erb"),
17 repository => 'web.adblockplus.org', 14 }, $website))
18 multiplexer_locations => ['/getSubscription'],
19 geoip => true,
20 }
21 15
22 nginx::module{'geoip': 16 nginx::module{'geoip':
23 path => 'modules/ngx_http_geoip_module.so', 17 path => 'modules/ngx_http_geoip_module.so',
24 } 18 }
25 19
26 ensure_packages([ 20 ensure_packages([
27 'make', 21 'make',
28 'doxygen', 22 'doxygen',
29 ]) 23 ])
30 24
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 Class['sitescripts'], 68 Class['sitescripts'],
75 Class['web::server'], 69 Class['web::server'],
76 Class['nodejs'], 70 Class['nodejs'],
77 ], 71 ],
78 command => shellquote($generate_docs_cmd), 72 command => shellquote($generate_docs_cmd),
79 user => www, 73 user => www,
80 minute => '5-55/10', 74 minute => '5-55/10',
81 } 75 }
82 } 76 }
83 77
OLDNEW
« no previous file with comments | « hiera/roles/web/adblockplus.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld