Closed evsheffield closed 8 years ago
Puppet 4 is more strict about comparisons between different types. Because facter returns lsbdistrelease as a string with a number in it, in order to compare it to a number we have to convert it to a number by adding 0 to it (https://docs.puppet.com/puppet/latest/reference/lang_data_number.html#converting-strings-to-numbers).
lsbdistrelease
Puppet 4 is more strict about comparisons between different types. Because facter returns
lsbdistrelease
as a string with a number in it, in order to compare it to a number we have to convert it to a number by adding 0 to it (https://docs.puppet.com/puppet/latest/reference/lang_data_number.html#converting-strings-to-numbers).