summaryrefslogtreecommitdiff
path: root/fabfile
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-28 11:59:31 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-28 11:59:31 +0200
commit7bd249e62789f2c6930321436d407dae3e59af3c (patch)
tree2f9c88cecea5390eb0b9962aaaa6371d86858e53 /fabfile
parent1fea37985d2777271e163c743e7364b62ed0e6c0 (diff)
parentaf6cf96c5ea6c7646cadf3447624594f0fe65726 (diff)
Merge branch 'master' of git.nordu.net:nunoc-opssunet-ops-2015-09-28-v01
Diffstat (limited to 'fabfile')
-rw-r--r--fabfile/db.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/fabfile/db.py b/fabfile/db.py
index 129aa50..081764d 100644
--- a/fabfile/db.py
+++ b/fabfile/db.py
@@ -32,6 +32,10 @@ def _load_db():
node_classes.update(cls)
classes[node_name] = node_classes
+ # Sort member lists for a more easy to read diff
+ for cls in members.keys():
+ members[cls].sort()
+
return dict(classes=classes,members=members)
_db = None