summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/templates/reversesoa.tmpl
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-11-09 19:42:58 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-11-09 19:42:58 +0000
commit2ce370ceda0827b47d976bf388892b34d1117b5e (patch)
tree27d5a92166a4bb20626690f688fa7db92d3f349c /src/lib/Server/Hostbase/templates/reversesoa.tmpl
parentbc4a0b7655b17d3183c5436c9f7329772c946751 (diff)
downloadbcfg2-2ce370ceda0827b47d976bf388892b34d1117b5e.tar.gz
bcfg2-2ce370ceda0827b47d976bf388892b34d1117b5e.tar.bz2
bcfg2-2ce370ceda0827b47d976bf388892b34d1117b5e.zip
updates to Hostbase plugin and file templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2478 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/templates/reversesoa.tmpl')
-rw-r--r--src/lib/Server/Hostbase/templates/reversesoa.tmpl21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/Server/Hostbase/templates/reversesoa.tmpl b/src/lib/Server/Hostbase/templates/reversesoa.tmpl
index 0b775757f..d142eaf7f 100644
--- a/src/lib/Server/Hostbase/templates/reversesoa.tmpl
+++ b/src/lib/Server/Hostbase/templates/reversesoa.tmpl
@@ -1,14 +1,13 @@
-\$ORIGIN .
-\$TTL $zone[8]
-${inaddr}.in-addr.arpa IN SOA $zone[4]. $zone[3] (
- $zone[2] ; serial
- $zone[7] ; refresh interval
- $zone[6] ; retry interval
- $zone[5] ; expire interval
- $zone[8] ; min ttl
+$ORIGIN .
+$TTL {{ zone.8 }}
+{{ inaddr }}.in-addr.arpa IN SOA {{ zone.4 }}. {{ zone.3 }} (
+ {{ zone.2 }} ; serial
+ {{ zone.7 }} ; refresh interval
+ {{ zone.6 }} ; retry interval
+ {{ zone.5 }} ; expire interval
+ {{ zone.8 }} ; min ttl
)
- #for $ns in $nameservers
- NS $ns[0]
- #end for
+ {% for ns in nameservers %}NS {{ ns.0 }}
+ {% endfor %}