mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Double check that master top is in config
This commit is contained in:
parent
5d8b038d53
commit
45959aee33
@ -711,6 +711,8 @@ class AESFuncs(object):
|
||||
if 'grains' in load['opts']:
|
||||
grains = load['opts']['grains']
|
||||
for fun in self.tops:
|
||||
if not fun in opts.get('master_tops', {}):
|
||||
continue
|
||||
try:
|
||||
ret.update(self.tops[fun](opts=opts, grains=grains))
|
||||
except Exception as exc:
|
||||
|
Loading…
Reference in New Issue
Block a user