spiette/puppet-selinux — pull request #13 by vholer (2014-07-08 10:40:21+00:00)
Title: Fix RH release version comparison

New CentOS 7 can contain version information consisted of three components

# facter | grep -i 7.0.1406
lsbdistdescription => CentOS Linux release 7.0.1406 (Core)
lsbdistrelease => 7.0.1406
operatingsystemrelease => 7.0.1406

and current simple check `$::operatingsystemrelease < '7'` fails on Puppet error `"Error: comparison of String with 7 failed at"`. Function **versioncmp** is better for version comparisons.