Fixes issue with with Puppet 3+ calling custom functions.
Merge pull request #20 from ehelms/fix-puppet-3

Fixes issue with with Puppet 3+ calling custom functions.