Set template variables as instance variables.

Fixes deprecation warning on newer puppet.