puppetdb v5 removed the "puppetdb::version" parameter from puppetdb::mastter::config. This means that line 61 in storeconfigs.pp throws a compile error. Possible workaround is to cap the puppetdb version in the metadata.json file.