rhn_schema_version - Command /usr/bin/rhn-schema-version

Parse the output of command /usr/bin/rhn-schema-version.

insights.parsers.rhn_schema_version.rhn_schema_version(context)[source]

Function to parse the output of command /usr/bin/rhn-schema-version.

Sample input:

5.6.0.10-2.el6sat

Examples

>>> db_ver = shared[rhn_schema_version]
>>> db_ver
'5.6.0.10-2.el6sat'