Merge output from master_tops

This commit is contained in:
Bo Maryniuk 2017-03-17 15:07:23 +01:00
parent 9d0762deca
commit a762c9edda

View file

@ -562,7 +562,7 @@ class RemoteFuncs(object):
if fun not in self.opts.get('master_tops', {}):
continue
try:
ret.update(self.tops[fun](opts=opts, grains=grains))
ret = salt.utils.dictupdate.merge(ret, self.tops[fun](opts=opts, grains=grains), merge_lists=True)
except Exception as exc:
# If anything happens in the top generation, log it and move on
log.error(