Fix erb warnings with newer Puppet

Hello,

This commit fixes deprecation warnings on variable access with new Puppet versions, 

Rached