LEFT | RIGHT |
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': |
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 Loading... |
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 |
LEFT | RIGHT |