apache-formula/apache
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
..
files fix(mod_mpm): cast to int to avoid Jinja type mismatch error 2019-12-20 13:24:37 +01:00
mod_security use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
vhosts fix(vhosts/standard.tmpl): fix salt-lint errors 2019-10-17 08:32:32 +01:00
certificates.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
config.sls Fix wrong yaml parsing (#253) 2019-02-10 19:35:25 +01:00
debian_full.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
defaults.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
flags.sls fix(flags.sls): fix salt-lint errors 2019-10-17 08:32:30 +01:00
init.sls fix(init.sls): fix salt-lint errors 2019-10-17 08:32:30 +01:00
logrotate.sls Improove the logrotate state with the map 2016-01-07 19:02:00 +00:00
manage_security.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
map.jinja fix(map.jinja): fix salt-lint errors 2019-10-17 08:32:30 +01:00
mod_actions.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_cgi.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_dav_svn.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_fastcgi.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_fcgid.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_geoip.sls fix(mod_geoip.sls): fix salt-lint errors 2019-10-17 08:32:30 +01:00
mod_headers.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_mpm.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_pagespeed.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_perl2.sls fix(mod_perl2.sls): fix a2enmod perl2 error 2019-11-04 17:23:25 +01:00
mod_php5.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_proxy_fcgi.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_proxy_http.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_proxy.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_remoteip.sls Fix mod_remoteip for Red Hat family OS (#260) 2019-04-20 09:32:44 +02:00
mod_rewrite.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_socache_shmcb.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_ssl.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_suexec.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_upload_progress.sls Patch upload progress (#267) 2019-09-26 17:57:24 +02:00
mod_vhost_alias.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_wsgi.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
mod_xsendfile.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
modsecurity.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
modules.sls fix(apache/modules.sls): fix duplicated ID 2019-10-30 12:53:39 +01:00
no_default_vhost.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
oscodenamemap.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
osfamilymap.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
osfingermap.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
own_default_vhost.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
register_site.sls use watch module: apache-[restart|reload] consequently 2018-11-09 00:25:52 +01:00
server_status.sls fix(server_status.sls): fix salt-lint errors 2019-10-17 08:32:31 +01:00
uninstall.sls fix(uninstall.sls): fix salt-lint errors 2019-10-17 08:32:31 +01:00