I recently discovered the repo installation for OCS and installed it on Centos 7. On both the devices I installed lsb_release. The agents that I installed from Source reports themselves as
OS Name :CentOS
OS Version :7.3.1611
The version I installed from repo adds the version to the OS Name:
OS Name :CentOS 7.4.1708
OS Version :7.4.1708
Output from lsb_release:
# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
It seems that the Repo version is using lsb_release's Description value where the source compiled version uses Distributor ID and Release.
We use the output from OCS to generate our inventory reports and it makes it difficult if we're going to use the new repo agent to have uniform results without editing the report and coding for the various scenarios in our management system.