(PDB-663) Sort out templating for config.ini and database.ini

Signed-off-by: Ken Barber <ken@bob.sh>