Query the system. This class is actually puts all Salt features together, so there would be no need to pick it from various places.
System information.
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004
salt.modules.inspectlib.exceptions