salt icon indicating copy to clipboard operation
salt copied to clipboard

show states summary after running salt

Open adrianandreias opened this issue 13 years ago • 7 comments

Would be useful to show a one line summary after running salt. Something like:

100 states checked, 10 changed, 9 errors (failed?)

And any other useful state that matters.

adrianandreias avatar Jan 16 '13 19:01 adrianandreias

I have been thinking about this a fair amount, the hard thing is that the cli prints out each return as it comes back, but we may be able to make a summary option that can be passed into the outputter system

thatch45 avatar Jan 17 '13 05:01 thatch45

Although not a one line output I think it would be helpful to provide clean vs changed statistics in the output as well. Something like this:

Summary
--------------
Succeeded Clean: 100
Succeeded Changed: 23
Failed:      2
--------------
Total:     125

fayetted avatar Apr 02 '14 15:04 fayetted

Wow, this one got lost in the shuffle. We have a summary output nowadays. As far as summary for the entire state run across all minions, there's an issue for that: #11199. The changes count was added in #11268.

I'm going to close this one.

basepi avatar Apr 02 '14 17:04 basepi

@basepi You might want to change the milestone and mark it as a duplicate just to clean things up.

I'm pedantic, I know. But what can I say? I like tidy issue trackers :P

thedrow avatar Apr 02 '14 18:04 thedrow

Hehe, I gave up a long time ago on worrying about old issues in terms of milestones and labels. But I've cleaned this one up, as requested. =)

basepi avatar Apr 02 '14 18:04 basepi

Excellent thank you. I look forward to seeing this change in a future release.

fayetted avatar Apr 02 '14 18:04 fayetted

Any plan about that ?

I'm facing problem to get quick look if my Highstate run fine on 200+ servers.

Any workaround you guys use here ?

valentin2105 avatar Jun 22 '18 00:06 valentin2105