mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix beacon list to include all beacons being processed
This commit is contained in:
parent
98fa4a404e
commit
1ccf35eca4
1 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@ class Beacon(object):
|
|||
'''
|
||||
def __init__(self, opts, functions):
|
||||
self.opts = opts
|
||||
self.functions = functions
|
||||
self.beacons = salt.loader.beacons(opts, functions)
|
||||
self.interval_map = dict()
|
||||
|
||||
|
@ -138,7 +139,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)
|
||||
evt.fire_event({'complete': True, 'beacons': self.opts['beacons']},
|
||||
b_conf = self.functions['config.merge']('beacons')
|
||||
evt.fire_event({'complete': True, 'beacons': b_conf},
|
||||
tag='/salt/minion/minion_beacons_list_complete')
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue