More work on puppetdb and postresql configuration