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

Delta Between Two Patch Sets: modules/adblockplus/manifests/legacy/webserver.pp

Issue 29531703: #3197 - Use of hash for parameters in legacy website (Closed)
Left Patch Set: Created Aug. 30, 2017, 5:01 p.m.
Right Patch Set: For comment 2 Created Aug. 31, 2017, 12:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « hiera/roles/web/adblockplus.yaml ('k') | modules/web/manifests/server.pp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 ) {
11 9
12 ensure_resource('class', 'web::server', merge({ 10 class {'web::server':
mathias 2017/08/30 17:41:37 This is now a new mechanism on top of Puppet's in-
13 custom_config => template("web/adblockplus.org.conf.erb"), 11 custom_config => template("web/adblockplus.org.conf.erb"),
14 }, $website)) 12 }
15 13
16 nginx::module{'geoip': 14 nginx::module{'geoip':
17 path => 'modules/ngx_http_geoip_module.so', 15 path => 'modules/ngx_http_geoip_module.so',
18 } 16 }
19 17
20 ensure_packages([ 18 ensure_packages([
21 'make', 19 'make',
22 'doxygen', 20 'doxygen',
23 ]) 21 ])
24 22
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Class['sitescripts'], 66 Class['sitescripts'],
69 Class['web::server'], 67 Class['web::server'],
70 Class['nodejs'], 68 Class['nodejs'],
71 ], 69 ],
72 command => shellquote($generate_docs_cmd), 70 command => shellquote($generate_docs_cmd),
73 user => www, 71 user => www,
74 minute => '5-55/10', 72 minute => '5-55/10',
75 } 73 }
76 } 74 }
77 75
LEFTRIGHT

Powered by Google App Engine
This is Rietveld