Closed mandos closed 8 years ago
Current comparison method don't work on puppet 2.7 with ruby 1.8.x and using versioncmp is more elegant.
Change-Id: I5b2f869c49ce964a366773339c42934a30ac09e2
versioncmp() expects strings. Try this
if (versioncmp("${::operatingsystemmajrelease}", '7') >= 0) { # lint:ignore:only_variable_string
Current comparison method don't work on puppet 2.7 with ruby 1.8.x and using versioncmp is more elegant.
Change-Id: I5b2f869c49ce964a366773339c42934a30ac09e2