Use instance variables in ERB templates

Causes deprecation warnings in Puppet 3. Non-instance variables will no longer
work in Puppet 4.