Fix for puppet 3.4+