Updating variables in template to Ruby instance variables to prevent puppet warnings and also avoid any future problems with Ruby local ones