Fixed read-database parameters in class puppetdb