# MANAGED BY PUPPET (bind/templates)
options {
    directory "/var/cache/bind";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk. See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

<% if forward -%>
    forward <%= forward %>;
<% end -%>
<% if forwarders -%>
    forwarders {
<% forwarders.each do |forwarder| -%>
        <%= forwarder %>;
<% end -%>
    };
<% else -%>
    // forwarders {
    // 0.0.0.0;
    // };
<% end %>
    auth-nxdomain no; # conform to RFC1035
<% if @listener -%>
    listen-on {
<% listener.each do |ip| -%>
        <%= ip %>;
<% end -%>
    };
<% end -%>

    // listen-on-v6 { any; };
};

# MANAGED BY PUPPET (bind/templates)
options {
    directory "/var/cache/bind";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk. See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

<% if @forward -%>
    forward <%= @forward %>;
<% end -%>
<% if @forwarders -%>
    forwarders {
<% @forwarders.each do |forwarder| -%>
        <%= forwarder %>;
<% end -%>
    };
<% else -%>
    // forwarders {
    // 0.0.0.0;
    // };
<% end %>
    auth-nxdomain no; # conform to RFC1035
<% if @listener -%>
    listen-on {
<% @listener.each do |ip| -%>
        <%= ip %>;
<% end -%>
    };
<% end -%>

    // listen-on-v6 { any; };
};

Add @ sigil for external variables.
Add @ sigil for external variables.
