| Index: modules/adblockplus/manifests/legacy/webserver.pp |
| =================================================================== |
| --- a/modules/adblockplus/manifests/legacy/webserver.pp |
| +++ b/modules/adblockplus/manifests/legacy/webserver.pp |
| @@ -5,19 +5,13 @@ |
| # |
| # See http://hub.eyeo.com/issues/2007 for more information. |
| # |
| -class adblockplus::legacy::webserver { |
| +class adblockplus::legacy::webserver ( |
| + $website = {}, |
| +) { |
| - class {'web::server': |
| - vhost => 'adblockplus.org', |
| - certificate => 'adblockplus.org_sslcert.pem', |
| - private_key => 'adblockplus.org_sslcert.key', |
| - is_default => true, |
| - aliases => ['www.adblockplus.org'], |
| + 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-
|
| custom_config => template("web/adblockplus.org.conf.erb"), |
| - repository => 'web.adblockplus.org', |
| - multiplexer_locations => ['/getSubscription'], |
| - geoip => true, |
| - } |
| + }, $website)) |
| nginx::module{'geoip': |
| path => 'modules/ngx_http_geoip_module.so', |