add support for new puppet v3