diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-07-22 22:42:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-07-22 22:42:09 -0300 |
commit | b7fdd9f7afd94ac17183a5e72d56be0aa71161f8 (patch) | |
tree | fa43fc3fd6a79c9ffe34024dc6ef4a8ed51c759b /templates | |
parent | 81a4a5ac3b109b806c629bb540d25f93c6dd9ef5 (diff) | |
download | puppet-bind-b7fdd9f7afd94ac17183a5e72d56be0aa71161f8.tar.gz puppet-bind-b7fdd9f7afd94ac17183a5e72d56be0aa71161f8.tar.bz2 |
Diffstat (limited to 'templates')
-rw-r--r-- | templates/zone-header.erb | 2 | ||||
-rw-r--r-- | templates/zone-master.erb | 2 | ||||
-rw-r--r-- | templates/zone-slave.erb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/zone-header.erb b/templates/zone-header.erb index 418aef8..a9bb7b3 100644 --- a/templates/zone-header.erb +++ b/templates/zone-header.erb @@ -3,7 +3,7 @@ $TTL <%=zone_ttl%> <% if zone_origin -%> $ORIGIN <%=zone_origin%> <% end -%> -@ IN SOA <%=name%>. <%=zone_contact%>. ( +@ IN SOA <%=zone%>. <%=zone_contact%>. ( <%=zone_serial%> ; serial <%=zone_refresh%> ; refresh <%=zone_retry%> ; retry diff --git a/templates/zone-master.erb b/templates/zone-master.erb index 2ec3973..f66cd7b 100644 --- a/templates/zone-master.erb +++ b/templates/zone-master.erb @@ -1,5 +1,5 @@ # File managed by puppet -zone "<%=name%>" IN { +zone "<%=zone%>" IN { type master; file "/etc/bind/pri/<%=name%>.conf"; <% if zone_xfers and not zone_xfers.empty? -%> diff --git a/templates/zone-slave.erb b/templates/zone-slave.erb index 0ae7e5d..c867428 100644 --- a/templates/zone-slave.erb +++ b/templates/zone-slave.erb @@ -1,5 +1,5 @@ # File managed by puppet -zone <%=name%> IN { +zone <%=zone%> IN { type slave; <% if zone_masters.is_a?(Array) -%> masters { <%= zone_masters.join('; ') -%>; }; |