mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #41991 from Da-Juan/fix-state_aggregate-list
Accept a list for state_aggregate global setting
This commit is contained in:
commit
a7f38929cb
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ class State(object):
|
|||
agg_opt = low['aggregate']
|
||||
if agg_opt is True:
|
||||
agg_opt = [low['state']]
|
||||
else:
|
||||
elif not isinstance(agg_opt, list):
|
||||
return low
|
||||
if low['state'] in agg_opt and not low.get('__agg__'):
|
||||
agg_fun = '{0}.mod_aggregate'.format(low['state'])
|
||||
|
|
Loading…
Add table
Reference in a new issue