<%- | String $zone, String $type, String $update_policy, | -%> <%# one zone entry for the bind9 configuration file %> zone "<%= $zone %>" { type <%= $type %>; file "zones/<%= $zone %>.db"; <%- if $type == 'master' or $type == 'slave' { %> journal "journal/<%= $zone %>.jnl"; <%- } %> <%- if $update_policy { %> update-policy { <%= $update_policy %>; }; <%- } %> };