Don't discard running beacons config when listing becaons

Refs #34827
This commit is contained in:
Mike Place 2016-08-03 04:50:32 +09:00
parent 9d7c22e1cb
commit 8547c88549

View File

@ -189,7 +189,8 @@ class Beacon(object):
# Fire the complete event back along with the list of beacons
evt = salt.utils.event.get_event('minion', opts=self.opts)
b_conf = self.functions['config.merge']('beacons')
evt.fire_event({'complete': True, 'beacons': b_conf},
self.opts['beacons'].update(b_conf)
evt.fire_event({'complete': True, 'beacons': self.opts['beacons']},
tag='/salt/minion/minion_beacons_list_complete')
return True