Change variable referencing to be compliant with Puppet 3 and later.