Add hiera support for database definitions