summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Probes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Probes.py b/src/lib/Server/Plugins/Probes.py
index 7ffc65bac..57dd4f698 100644
--- a/src/lib/Server/Plugins/Probes.py
+++ b/src/lib/Server/Plugins/Probes.py
@@ -75,10 +75,10 @@ class Probes(Bcfg2.Server.Plugin.Plugin,
top = lxml.etree.Element("Probed")
for client, probed in sorted(self.probedata.items()):
cx = lxml.etree.SubElement(top, 'Client', name=client)
- for probe in probed:
+ for probe in sorted(probed):
lxml.etree.SubElement(cx, 'Probe', name=probe,
value=self.probedata[client][probe])
- for group in self.cgroups[client]:
+ for group in sorted(self.cgroups[client]):
lxml.etree.SubElement(cx, "Group", name=group)
data = lxml.etree.tostring(top, encoding='UTF-8', xml_declaration=True,
pretty_print='true')