From: Thomas Goirand Date: Thu, 3 Apr 2014 14:38:31 +0000 (+0800) Subject: Using mongodb by default. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=177286bd031b530535296d535f0a97cbd018bf51;p=openstack-build%2Fceilometer-build.git Using mongodb by default. Change-Id: I7877312f6e9fe1880d18b297e9ff9dafd9d054dd Rewritten-From: 319ee78a4185a1f53d9beec8203cea4248d23005 --- diff --git a/xenial/debian/patches/series b/xenial/debian/patches/series index 970683f..92b9c99 100644 --- a/xenial/debian/patches/series +++ b/xenial/debian/patches/series @@ -1 +1,2 @@ removes-sqla0.8-restrictions.patch +using-mongodb-by-default.patch diff --git a/xenial/debian/patches/using-mongodb-by-default.patch b/xenial/debian/patches/using-mongodb-by-default.patch new file mode 100644 index 0000000..1aba25e --- /dev/null +++ b/xenial/debian/patches/using-mongodb-by-default.patch @@ -0,0 +1,16 @@ +Description: Uses mongodb by default in the connection directive +Author: Thomas Goirand +Forwarded: no +Last-Update: 2014-04-03 + +--- ceilometer-2014.1~rc1.orig/etc/ceilometer/ceilometer.conf.sample ++++ ceilometer-2014.1~rc1/etc/ceilometer/ceilometer.conf.sample +@@ -631,7 +631,7 @@ + # Deprecated group/name - [DEFAULT]/sql_connection + # Deprecated group/name - [DATABASE]/sql_connection + # Deprecated group/name - [sql]/connection +-#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db ++connection=mongodb://localhost:27017/ceilometer + + # The SQLAlchemy connection string used to connect to the + # slave database (string value)