Skip sls refs that have already been loaded while evaluating the

Top level matches
This commit is contained in:
Thomas S Hatch 2013-10-16 22:04:20 -06:00
parent c94f4bde01
commit 6114f1b07a

View File

@ -2199,6 +2199,8 @@ class BaseHighState(object):
.format(sls_match, env)
)
for sls in statefiles:
if sls in mods:
continue
state, errors = self.render_state(sls, env, mods, matches)
if state:
self.merge_included_states(highstate, state, errors)