corrected variable references to be ruby instance variables instead of ruby methods.  fixes Puppet 3.x depreciation warnings.
Merge pull request #6 from misterdorm/templatefixes

corrected variable references to be ruby instance variables instead of r...