saltstack/salt — pull request #2937 by dangets (2012-12-18 19:27:08+00:00)
Title: Moved related cpu data functions into CPUData class

Request for comment

I'd like to move cross-os related functions into classes/namespaces to start creating a "standardized" schema one can expect for the core grains.

This commit should not have changed any functionality besides reorg of code into a CPUData class. I'd like to do the same for meminfo, gpuinfo, python_info, ...

Also, I'd like to know if renaming some of these fields is okay - such as cpuarch to cpu_arch for naming consistency.