2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Assure deterministic enumeration of areas

nodegroup must be restored first.
This commit is contained in:
Jarrod Johnson 2017-01-30 16:38:43 -05:00
parent 446d2270c9
commit 6ad383c6ad

View File

@ -1246,7 +1246,9 @@ class ConfigManager(object):
pass
# Now we have to iterate through each fixed up element, using the
# set attribute to flesh out inheritence and expressions
for confarea in tmpconfig:
for confarea in _config_areas:
if confarea not in tmpconfig:
continue
if confarea == 'nodes':
self.set_node_attributes(tmpconfig[confarea], True)
elif confarea == 'nodegroups':