generate-icinga-generic-host: Use Jinja2 for config templating
Generating the config with a bunch of string generation is tedious and
not so well to read. Thus, using Jinja2 to create a template and then
just passing the variables is a sensible choice. This commit removes all
string-generating functions and replaces it with Jinja2 templating.
Signed-off-by:
Adrian 'nex' Schollmeyer <adrian.schollmeyer@fem.tu-ilmenau.de>
Please register or sign in to comment