apache-formula/apache/config
Andreas Thienemann 1f488b6af3 Do not pass full apache context to vhost templates.
The full apache context variable can grow quite large if using multiple
vhosts with SSL certificates.
With 200 sites the apache variable is being rendered 200 times which resuls
in observed renderer output of about 950MB...

state.apply will result with MemoryErrors in such cases.

This PR modifies the templating code to _only_ use a per site context
and pass a trimmed down copy of the apache context instead of the full.

Drive-By: Correct indentation for context variables.
Drive-By: Remove duplicate map/apache functionality. Only use map.
2020-12-08 21:13:07 +01:00
..
certificates refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
modules fix(debian): don't execute a2enmod on every run 2020-10-14 00:49:20 +02:00
vhosts Do not pass full apache context to vhost templates. 2020-12-08 21:13:07 +01:00
clean.sls fix(clean): remove entire apache config directory 2020-10-14 20:08:53 +01:00
debian_full.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
file.sls fix(logs): don't change owners of logfiles with salt 2020-10-14 03:43:06 +02:00
flags.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
init.sls fix(package): remove own_default_vhost and debian_full from config.init 2020-10-12 08:57:48 +02:00
logrotate.sls fix(config): fix old apache.service usage 2020-10-13 02:42:52 +02:00
manage_security.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
no_default_vhost.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
own_default_vhost.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
register_site.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00