add puppet 6 support

Edited by Fabien Combernous