summaryrefslogtreecommitdiff
path: root/templates/zoneconf.epp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 13:07:03 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 13:07:03 +0200
commit1b5393f6c8e5c5707410701cceb3c6fb99fda613 (patch)
treecc731ef0136eda3ba398d611961434bb4b2ceb7a /templates/zoneconf.epp
parentGot content working. (diff)
downloaddns-1b5393f6c8e5c5707410701cceb3c6fb99fda613.tar.gz
dns-1b5393f6c8e5c5707410701cceb3c6fb99fda613.tar.xz
work
Diffstat (limited to 'templates/zoneconf.epp')
-rw-r--r--templates/zoneconf.epp9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/zoneconf.epp b/templates/zoneconf.epp
index af0d6af..2d85b5c 100644
--- a/templates/zoneconf.epp
+++ b/templates/zoneconf.epp
@@ -7,14 +7,13 @@ zone "<%= $zone %>" {
type <%= $type %>;
file "zones/<%= $zone %>db";
- <%- if $type == 'master' or $type == 'slave' { %>
+ <%- if $type == 'master' or $type == 'slave' { -%>
journal "journal/<%= $zone %>jnl";
- <%- } %>
+ <%- } -%>
-
- <%- if $update_policy { %>
+ <%- if $update_policy { -%>
update-policy {
<%= $update_policy %>;
};
- <%- } %>
+ <%- } -%>
};