saltstack/salt — pull request #8895 by kaithar (2013-11-28 15:56:33+00:00)
Title: Alternative aesthetic for highstate

This is a speculative pull request ... I wrote this to satisfy my own itch of having the output look more pleasing but I don't know if it's of interest for inclusion.

Setting state_tabular to True makes the terse output lines look like this (you'll have to imagine the colours, sorry):
```
makeconf.present Clean Name: PHP_TARGETS
file.managed Dirty Name: /etc/portage/package.use/php53
pkg.installed Clean Name: dev-php/suhosin
pkg.installed Clean Name: dev-lang/php
file.managed Clean Name: /etc/php/apache2-php5.3/ext-active/00_extras.ini
file.managed Clean Name: /etc/php/apache2-php5.3/ext/suhosin.ini
```

I've split the formatter string off rather than duplicating the formatter call to allow for the possible ideas of adding other terse display modes, or even moving it to a config option.
I set the formatting width to 10 characters on a guess as to what would give a reasonable aesthetic... might need to revise that or push it to a config option.

Rational is that name is the part of the message that has the most size variance and thus should be last item. The other two, in most cases, align cleanly with a minimum of horizontal waste and thus allow the eye to quickly scan the output.

Thoughts?