Add an error to the master log for failed pillar builds

This commit is contained in:
Thomas S Hatch 2015-01-20 13:56:34 -07:00
parent 89ef86096c
commit 653aa4686f

View File

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