apache-formula/apache/files/Debian
Dimitry Andric 21045c7a7b fix(mod_mpm): cast to int to avoid Jinja type mismatch error
This fixes the following error when Jinja tries to process
`mpm_prefork.conf.jinja` or `00-mpm.conf.jinja`, when it processes the
`max_request_workers` comparison:

```
Unable to manage file: Jinja error: '>=' not supported between instances of 'str' and 'int'
[...]
<IfModule mpm_prefork_module>
  StartServers {{ mpm_param['start_servers'] | d('5') }}
  MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }}
{%- if mpm_param['max_request_workers'] | d('150') >= 256 %}    <======================
  ServerLimit {{ mpm_param['max_request_workers'] | d('150') }}
{%- endif %}
  MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }}
  MaxSpareServers {{ mpm_param['max_spare_servers'] | d('10') }}
  MaxConnectionsPerChild {{ mpm_param['max_connections_per_child'] | d('0') }}
```

Add filters that convert the values to an int first.
2019-12-20 13:24:37 +01:00
..
conf-available Added ability to configure mod_remoteip 2015-12-16 02:54:14 +03:00
mpm fix(mod_mpm): cast to int to avoid Jinja type mismatch error 2019-12-20 13:24:37 +01:00
sites-available Added newlines to recent files 2015-12-16 16:43:16 +03:00
apache-2.2.config.jinja fix(apache-2.2.config.jinja): fix salt-lint errors 2019-10-17 08:32:30 +01:00
apache-2.4.config.jinja Added "Managed by Salt..." headers in template and made them unifom across the formula 2018-02-04 10:26:40 -03:00
envvars-2.2.jinja Added "Managed by Salt..." headers in template and made them unifom across the formula 2018-02-04 10:26:40 -03:00
envvars-2.4.jinja Added "Managed by Salt..." headers in template and made them unifom across the formula 2018-02-04 10:26:40 -03:00
modsecurity.conf.jinja Add mod_security management 2016-05-11 15:41:07 -03:00
ports-2.2.conf.jinja No automatic listener for port * 2018-11-04 03:18:56 +01:00
ports-2.4.conf.jinja No automatic listener for port * 2018-11-04 03:18:56 +01:00
ssl.conf.jinja Add OCSP Stapling configuration capabilities to Debian 2018-11-04 15:39:34 -03:00