Fix deprecation warnings for newer Puppet version
Merge pull request #23 from dieterdemeyer/master

Fix deprecation warnings for newer Puppet version