Fixed compatibility for puppet 2.7.1