summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Metadata.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Metadata.py')
-rw-r--r--src/lib/Server/Plugins/Metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index beaa1cc81..25a6bad1e 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -31,7 +31,7 @@ class ClientMetadata(object):
class ProbeSet(Bcfg2.Server.Plugin.EntrySet):
def __init__(self, path, fam):
- fpattern = '[A-Za-z]+'
+ fpattern = '[A-Za-z_\-]+'
Bcfg2.Server.Plugin.EntrySet.__init__(self, fpattern, path, True,
Bcfg2.Server.Plugin.SpecificData)
fam.AddMonitor(path, self)
@@ -262,7 +262,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin):
try:
datafile = open("%s/%s" % (self.data, 'probed.xml'), 'w')
except IOError:
- self.logger.error("Failed to write clients.xml")
+ self.logger.error("Failed to write probed.xml")
raise MetadataRuntimeError
datafile.write(data)
self.pdirty = False