fixed the module for puppetdb 2.0
Merge pull request #13 from mburger/master

fixed the module for puppetdb 2.0
Merge pull request #6 from example42/master

Upstream pull