
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: Ib55dabd3c33f5773ac3ca67955e0f85418ec0698 Closes-bug: 1425300 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>