mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add an error to the master log for failed pillar builds
This commit is contained in:
parent
89ef86096c
commit
653aa4686f
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user