update template to use instance variables, puppet-lint tests