saltstack/salt — pull request #7980 by olenz (2013-10-19 13:28:17+00:00)
Title: Reduced the output of the state pkg.latest.

When using the state "pkg.latest", the list of packages is output even when they are not updated. That is really annoying when using a long list of packages and clobbers the output. This patch will output the packages only if the list is less than 10 long, otherwise it will just output the number of packages.
I know that putting the hard-coded number "10" is not good style. If you want me to, I can make this a configurable variable.