summaryrefslogtreecommitdiff
path: root/src/conf_mode/dns_forwarding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-27 15:41:17 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-27 15:41:17 +0100
commita2ac9fac16eeb626d3969092fecf463650750640 (patch)
treeab54dfe9c575e1bf719735e859ac136e375cf5c8 /src/conf_mode/dns_forwarding.py
parentfb7e761ae3efa8f17d9199f29dae2fdc1f51f188 (diff)
downloadvyos-1x-a2ac9fac16eeb626d3969092fecf463650750640.tar.gz
vyos-1x-a2ac9fac16eeb626d3969092fecf463650750640.zip
vyos.template: T2720: always enable Jinja2 trim_blocks feature
Diffstat (limited to 'src/conf_mode/dns_forwarding.py')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index ef52cbfd3..c44e6c974 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -114,10 +114,10 @@ def generate(dns):
return None
render(pdns_rec_config_file, 'dns-forwarding/recursor.conf.tmpl',
- dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group)
+ dns, user=pdns_rec_user, group=pdns_rec_group)
render(pdns_rec_lua_conf_file, 'dns-forwarding/recursor.conf.lua.tmpl',
- dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group)
+ dns, user=pdns_rec_user, group=pdns_rec_group)
# if vyos-hostsd didn't create its files yet, create them (empty)
for file in [pdns_rec_hostsd_lua_conf_file, pdns_rec_hostsd_zones_file]: