saltstack/salt — pull request #402 by SEJeff (2011-12-28 08:41:14+00:00)
Title: Misc cleanups - airplane edition

These are the cleanups done on the way to and from LAX <---> LEX. They seem useful and touch a few different files, so I'd rather get them merged than have to fix conflicts and rebase later on.

* Add a proper dmidecode parser and a bunch of new grains
* Fix several small bugs and/or update logging coding style
* Exit with: _Exiting on Ctrl-c_ when hitting Ctrl-c on the minion instead of _Terminated_
* Log when exiting the minion or syndic minion cleanly to the salt log
* Fix some stylistic issues and change lists to tuples for more of teh awesome
* Try several various incarnations of uname flags to get the architecture
* Fix some fallout from refactoring grains to use ```__salt__['cmd.run']()```
* Quiet the ```__salt__['cmd.run']``` nonsense on minion startup when the minion is ran with a debug loglevel