saltstack/salt — pull request #346 by SEJeff (2011-12-11 07:23:25+00:00)
Title: Add utils.which() and clean up some _virtual() logic

Make things prettier and run a bit faster. Also default to running dmidecode for checking if a node is virtual and fall back to lspci if dmidecode isn't available.