Fixes #14545, #13104 - Correctly parse y.z minor OS versions
Some OSes use y.z minor version, for example CentOS uses versions such as 7.2.1511. Currently, the puppet fact parser will only take the 'y' part of the version, 2 in this case, which can lead to conflicts if the OS has been defined manually with the 2.1511 minor version (as the description will still contain the entire version).
Related issues
Bug #13104: CentOS minor version numbering issue - preventing build
Bug #14545: ActiveRecord::RecordInvalid: Validation failed: Description has already been taken, Title has already been taken
Fixes #14545, #13104 - Correctly parse y.z minor OS versions
Some OSes use y.z minor version, for example CentOS uses versions such
as 7.2.1511. Currently, the puppet fact parser will only take the 'y'
part of the version, 2 in this case, which can lead to conflicts if the
OS has been defined manually with the 2.1511 minor version (as the
description will still contain the entire version).