summaryrefslogtreecommitdiff
path: root/templates/zoneconf.epp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-05-05 01:46:46 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-06 18:31:17 +0200
commit812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9 (patch)
tree109619457ac9b9028eae7297c4f72deadad68c52 /templates/zoneconf.epp
parenttmp disable creation. (diff)
downloaddns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.gz
dns-812c3f4d6162cf7af8f8cbedb6abb6d72bd537e9.tar.xz
"Working" product.
Diffstat (limited to 'templates/zoneconf.epp')
-rw-r--r--templates/zoneconf.epp6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/zoneconf.epp b/templates/zoneconf.epp
index cb702be..af0d6af 100644
--- a/templates/zoneconf.epp
+++ b/templates/zoneconf.epp
@@ -1,14 +1,14 @@
<%- | String $zone,
String $type,
- String $update_policy,
+ Optional[String] $update_policy,
| -%>
<%# one zone entry for the bind9 configuration file %>
zone "<%= $zone %>" {
type <%= $type %>;
- file "zones/<%= $zone %>.db";
+ file "zones/<%= $zone %>db";
<%- if $type == 'master' or $type == 'slave' { %>
- journal "journal/<%= $zone %>.jnl";
+ journal "journal/<%= $zone %>jnl";
<%- } %>