Skip to content

Instantly share code, notes, and snippets.

@cachedout
Created October 19, 2015 19:50
Show Gist options
  • Save cachedout/761d1cbc05259081e3df to your computer and use it in GitHub Desktop.
Save cachedout/761d1cbc05259081e3df to your computer and use it in GitHub Desktop.
diff --git a/salt/state.py b/salt/state.py
index a6d1932..92fc142 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -627,7 +627,8 @@ 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 low.get('aggregate') is True:
+ if 'aggregate' in low:
agg_opt = low['aggregate']
if agg_opt is True:
agg_opt = [low['state']]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment