<%- | String $zone, String $type, Optional[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 %>; }; <%- } %> };