Fix marconi's storage setting for MongoDB
The storage driver should be set to mongodb and the driver's uri to the
mongodb:// uri.
Change-Id: I6193a5d78f6cd7283b4e3b1831978883b9e99b06
diff --git a/lib/marconi b/lib/marconi
index 29ae386..8f4f3c6 100644
--- a/lib/marconi
+++ b/lib/marconi
@@ -105,7 +105,8 @@
iniset $MARCONI_CONF keystone_authtoken signing_dir $MARCONI_AUTH_CACHE_DIR
if [[ "$MARCONI_BACKEND" = 'mongodb' ]]; then
- iniset $MARCONI_CONF database connection mongodb://localhost:27017/marconi
+ iniset $MARCONI_CONF drivers storage mongodb
+ iniset $MARCONI_CONF 'drivers:storage:mongodb' uri mongodb://localhost:27017/marconi
configure_mongodb
cleanup_marconi
fi