Convert all variables in ERBs to instance variables.

This will remove all deprecation warning messages from Puppet 2.7 and newer.