Merge pull request #19883 from thatch45/pillar_error

Add an error to the master log for failed pillar builds
This commit is contained in:
Thomas S Hatch 2015-01-20 13:58:01 -07:00
commit b0d4fa1f5a

View File

@ -235,6 +235,8 @@ class Pillar(object):
errors.append(
('Rendering Primary Top file failed, render error:\n{0}'
.format(exc)))
log.error('Pillar rendering failed for minion {0}: '.format(self.opts['id']),
exc_info=True)
# Search initial top files for includes
for saltenv, ctops in tops.items():