Use instance-variable syntax in templates

to avoid deprecation warnings in puppet 3.2