
Use the builtin versioncmp() function for comparisons of the '::operatingsystemmajrelease' fact. If that fact evaluates to a string, regular arithmetric comparisons will fail under the Puppet 4.x language. Change-Id: Ic66516a5548be0fe6f6fb818d04086cf234f2fc1 Closes-bug: 1425300 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>