puppet-bind/templates/view-mappings.erb
Nate Riffe 40531e21eb Implement a helper script for zone reloads
It turns out the `rndc` command that was intended to reload a managed zone
wasn't working (see PR #91 for reference) if more than one view included the
zone. The helper script is really just a wrapper around the `rndc` command
itself, it translates its final parameter into a domain/class/view tuple and
pass the leading parameters and the tuple to `rndc`.
2016-07-07 21:15:41 -05:00

4 lines
67 B
Plaintext

<%- @zones.each do |zone| -%>
<%= zone %>:<%= @name %>
<%- end -%>