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

fixed the module for puppetdb 2.0