Move hash outside of function call, fixes for Puppet 2.6
Add create_resources to fix Travis CI failure on Puppet 2.6
Merge pull request #163 from domcleal/pp26

Puppet 2.6 fix