salt icon indicating copy to clipboard operation
salt copied to clipboard

Add a flag to suppress detailed summary for salt states execution (salt-0.17.0 onward)

Open mlister2006 opened this issue 13 years ago • 6 comments

Per discussion https://groups.google.com/forum/#!searchin/salt-users/7664/salt-users/J0DxqY4iHlI/xsYZ4k4PgJcJ Requesting a flag (command line or config file) to suppress detailed summary when executing salt states. Very much like pre salt-0.17.0 style reporting

mlister2006 avatar Oct 07 '13 22:10 mlister2006

Thanks for filing this issue.

@terminalmage, you're the one who added the summary, this should be right up your alley. Or I'm happy to do it if you're busy helping @UtahDave with windows stuff.

basepi avatar Oct 09 '13 01:10 basepi

Yeah, I should be able to get to it pretty easily, the code that does this is in the highstate outputter.

terminalmage avatar Oct 09 '13 03:10 terminalmage

@mlister2006 That conversation you linked to is not available.

I've just spent time in this code and was going to knock this one out but without any information on what the desired output is meant to be like, i cant do anything with this :-(

techdragon avatar Feb 17 '14 13:02 techdragon

Oops! I should have quoted Google groups link an not my email :( Here is the original conversation via Google Groups (updated original post as well). Thanks for looking into it. I guess if state_verbose: False , it shouldn't print verbose summary or add another config option.

-- Quoting from conversation------------------ https://groups.google.com/forum/#!searchin/salt-users/7664/salt-users/J0DxqY4iHlI/xsYZ4k4PgJcJ--------------------------------------- On master,Is there a way to suppress Summary output. I already have following in the master.

state_verbose: False #state_output: full <== default

While I would like to get output about state changes and failed states. But not the following summary output with every minion. (i.e pre salt-0.17.0 style reporting, without rolling back to salt0.16.x :)

Summary

Succeeded: 0

Failed: 0

Total: 0

mlister2006 avatar Feb 17 '14 17:02 mlister2006

:+1:

rhansen avatar Oct 01 '15 01:10 rhansen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Jan 08 '18 18:01 stale[bot]