fix a deprecation warning introduced by puppet issue 19058
Merge pull request #5 from nagas/fix/ruby-instance-variable-scope

fix a deprecation warning introduced by puppet issue 19058