Revert "Revert "Using mongodb by default.""
authorThomas Goirand <thomas@goirand.fr>
Fri, 4 Apr 2014 09:03:45 +0000 (17:03 +0800)
committerThomas Goirand <thomas@goirand.fr>
Fri, 4 Apr 2014 09:03:45 +0000 (17:03 +0800)
This reverts commit ce1bb8f2c2a20d61885de157efa54c48b22229b4.

Rewritten-From: 9cf40243fa7fc1baed2a7a027859cd54c9a71baf

trusty/debian/patches/series
trusty/debian/patches/using-mongodb-by-default.patch [new file with mode: 0644]

index 970683ff9a422ddce3d54440b4b43a75a48ac94f..92b9c992802501600bd4bcaa0ac3c751f6cbe7ba 100644 (file)
@@ -1 +1,2 @@
 removes-sqla0.8-restrictions.patch
+using-mongodb-by-default.patch
diff --git a/trusty/debian/patches/using-mongodb-by-default.patch b/trusty/debian/patches/using-mongodb-by-default.patch
new file mode 100644 (file)
index 0000000..1aba25e
--- /dev/null
@@ -0,0 +1,16 @@
+Description: Uses mongodb by default in the connection directive
+Author: Thomas Goirand <zigo@debian.org>
+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)