summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-07-26 00:51:01 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-07-26 00:51:01 +0000
commit61ebc09963d04feba781534399b9d8aa126aa8e3 (patch)
tree3d4477b0ea03436dadb7ee1a13d3e9064e34c153
parentd789c8c925a2a9af42c54d793878dcdba8bc8d09 (diff)
downloadbcfg2-61ebc09963d04feba781534399b9d8aa126aa8e3.tar.gz
bcfg2-61ebc09963d04feba781534399b9d8aa126aa8e3.tar.bz2
bcfg2-61ebc09963d04feba781534399b9d8aa126aa8e3.zip
Fix clients when secure='false' (Resolves Ticket #580)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4826 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index ae198655e..d9c9c2a43 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -172,7 +172,7 @@ class Metadata(Bcfg2.Server.Plugin.MetadataPlugin,
self.addresses[caddr] = [clname]
if 'uuid' in client.attrib:
self.uuid[client.get('uuid')] = clname
- if 'secure' in client.attrib:
+ if client.get('secure', 'false') == 'true' :
self.secure.append(clname)
if client.get('location', 'fixed') == 'floating':
self.floating.append(clname)