Closed vholer closed 10 years ago
New CentOS 7 contains 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 < 6 fails on Puppet error "Error: comparison of String with 6 failed at". Function versioncmp is better for version comparisons.
$::operatingsystemrelease < 6
"Error: comparison of String with 6 failed at"
Similar goal to #34 but with a different implementation.
Yes please!
Thanks a lot!
New CentOS 7 contains version information consisted of three components
and current simple check
$::operatingsystemrelease < 6
fails on Puppet error"Error: comparison of String with 6 failed at"
. Function versioncmp is better for version comparisons.