| OLD | NEW |
| 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 | 9 |
| 10 class {'web::server': | 10 class {'web::server': |
| 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"), | 11 custom_config => template("web/adblockplus.org.conf.erb"), |
| 17 repository => 'web.adblockplus.org', | |
| 18 multiplexer_locations => ['/getSubscription'], | |
| 19 geoip => true, | |
| 20 } | 12 } |
| 21 | 13 |
| 22 nginx::module{'geoip': | 14 nginx::module{'geoip': |
| 23 path => 'modules/ngx_http_geoip_module.so', | 15 path => 'modules/ngx_http_geoip_module.so', |
| 24 } | 16 } |
| 25 | 17 |
| 26 ensure_packages([ | 18 ensure_packages([ |
| 27 'make', | 19 'make', |
| 28 'doxygen', | 20 'doxygen', |
| 29 ]) | 21 ]) |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 Class['sitescripts'], | 66 Class['sitescripts'], |
| 75 Class['web::server'], | 67 Class['web::server'], |
| 76 Class['nodejs'], | 68 Class['nodejs'], |
| 77 ], | 69 ], |
| 78 command => shellquote($generate_docs_cmd), | 70 command => shellquote($generate_docs_cmd), |
| 79 user => www, | 71 user => www, |
| 80 minute => '5-55/10', | 72 minute => '5-55/10', |
| 81 } | 73 } |
| 82 } | 74 } |
| 83 | 75 |
| OLD | NEW |