puppetdb uses localhost for postgres

This also causes the database to actually be configured