mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #28889 from jfindlay/aggregate
state compiler: relax aggregate conditional check
This commit is contained in:
commit
16ebda999e
@ -652,7 +652,7 @@ class State(object):
|
||||
Execute the aggregation systems to runtime modify the low chunk
|
||||
'''
|
||||
agg_opt = self.functions['config.option']('state_aggregate')
|
||||
if low.get('aggregate') is True:
|
||||
if 'aggregate' in low:
|
||||
agg_opt = low['aggregate']
|
||||
if agg_opt is True:
|
||||
agg_opt = [low['state']]
|
||||
|
Loading…
Reference in New Issue
Block a user