Merge pull request #46788 from garethgreenaway/46762_prereq_shenanigans

[2017.7] Ensure failed tags are added to self.pre
This commit is contained in:
Mike Place 2018-03-30 11:11:37 -06:00 committed by GitHub
commit c935ffb740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2434,6 +2434,7 @@ class State(object):
'__run_num__': self.__run_num,
'__sls__': low['__sls__']
}
self.pre[tag] = running[tag]
self.__run_num += 1
elif status == 'change' and not low.get('__prereq__'):
ret = self.call(low, chunks, running)