fixed the module for puppetdb 2.0