use erb templates when creating configuration for mongo