changes required so puppet 3.6.1 + future parser works

I assume they made some changes, I did not look it up but I had to fix this in a lot of my puppet code.

Thanks