summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)