thias/puppet-libvirt — pull request #40 by edestecd (2014-11-26 00:42:52+00:00)
Title: Fix version comparison for puppet future parser

Use the native versioncmp function in puppet for version comparisons.

This fixes an issue that cause the catalog to fail compilation in puppet 3.7.x with future parser and should
continue to work with older versions as well.

The error being fixed:
Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Comparison of: # >= Integer, is not possible. Caused by 'Only Strings and Numbers are comparable'.