apache-formula/apache
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
..
config Do not pass full apache context to vhost templates. 2020-12-08 21:13:07 +01:00
files feat(ssl.conf): add SSLSessionTickets to ssl.conf on debian 2020-10-14 22:09:37 +02:00
package refactor(package): remove unnecessary state 2020-10-14 20:04:19 +01:00
service refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
certificates refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
clean.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
defaults.yaml refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
init.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
libtofs.jinja chore: standardise structure [skip ci] 2020-10-06 23:26:09 +01:00
map.jinja refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
modsecurity.yaml fix(yamllint): fix all errors 2019-10-17 08:32:30 +01:00
modules.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
osarchmap.yaml refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
oscodenamemap.yaml refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
osfamilymap.yaml fix(debian): fix default moddir on debian 2020-10-13 23:56:20 +02:00
osfingermap.yaml refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
osmap.yaml refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
vhosts refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00