adding hostname to summary of highstate output

This commit is contained in:
Travis Hegner 2015-05-28 15:34:42 -04:00
parent ea413bcb83
commit 1310b6b9ee

View File

@ -54,7 +54,7 @@ Example output:
ret:
True
Summary
Summary for myminion
------------
Succeeded: 1
Failed: 0
@ -287,7 +287,7 @@ def _format_host(host, data):
hstrs.append(
colorfmt.format(
colors['CYAN'],
u'\nSummary\n{0}'.format('-' * line_max_len),
u'\nSummary for '+host+u'\n{0}'.format('-' * line_max_len),
colors
)
)