diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
commit | 510c55e843ea0a1c049b39a9f57ff044190fcbd9 (patch) | |
tree | 5e82a8238779a088147ff61efc0db305be76a1f7 /src/lib/Server/Hostbase/templates/reverseappend.tmpl | |
parent | dbc96682be8968aac8ca8f8727728d60609f732c (diff) | |
download | bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.gz bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.bz2 bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.zip |
Added all the django application code
includes database models, file templates, and web apps
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2135 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/templates/reverseappend.tmpl')
-rw-r--r-- | src/lib/Server/Hostbase/templates/reverseappend.tmpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/templates/reverseappend.tmpl b/src/lib/Server/Hostbase/templates/reverseappend.tmpl new file mode 100644 index 000000000..e4f667d37 --- /dev/null +++ b/src/lib/Server/Hostbase/templates/reverseappend.tmpl @@ -0,0 +1,12 @@ +#if $fileorigin != None +\$ORIGIN ${fileorigin}.in-addr.arpa. +#end if +\$ORIGIN ${inaddr}.in-addr.arpa. +#for $host in $hosts +#if $host[2] == 0 +${host[3][3]} PTR ${host[0]}. +#else +${host[3][3]} PTR ${host[4][0]}-${host[3][2]}.${host[4][1]}. +#end if +#end for + |