Created
October 19, 2015 19:50
-
-
Save cachedout/761d1cbc05259081e3df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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