summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2009-05-06 15:53:55 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2009-05-06 15:53:55 +0000
commite55c9c0e1980b8c1bb808acbaeafd27a9b1cf5d1 (patch)
treeee3482be3488f6c99afa9c3772672ce7105805e9
parent5598708c80da9bf2667f8ce5cd8c759461913851 (diff)
downloadbcfg2-e55c9c0e1980b8c1bb808acbaeafd27a9b1cf5d1.tar.gz
bcfg2-e55c9c0e1980b8c1bb808acbaeafd27a9b1cf5d1.tar.bz2
bcfg2-e55c9c0e1980b8c1bb808acbaeafd27a9b1cf5d1.zip
fixed external reverse zone building
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5201 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Hostbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py
index c61fdace3..0ad34208d 100644
--- a/src/lib/Server/Plugins/Hostbase.py
+++ b/src/lib/Server/Plugins/Hostbase.py
@@ -281,7 +281,7 @@ class Hostbase(Bcfg2.Server.Plugin.Plugin,
if (host[1].split("."), host[0]) not in hosts]
hosts_external = [(host[1].split("."), host[0])
for host in reversehosts
- if ((host[1].split("."), host[0]) not in hosts
+ if ((host[1].split("."), host[0]) not in hosts_external
and host[2] == 'global')]
context = Context({
'hosts': hosts,