Fix issue with ruby 1.8.7/puppet 2.6.11