f6ef568c733437a37f4b26d1fdfdc7011550d0fb
[openstack-build/ceilometer-build.git] / debian / patches / default-dbconnection-sqlite.patch
1 Index: ceilometer/etc/ceilometer/ceilometer.conf.sample
2 ===================================================================
3 --- ceilometer.orig/etc/ceilometer/ceilometer.conf.sample       2013-09-06 15:48:23.491575697 -0700
4 +++ ceilometer/etc/ceilometer/ceilometer.conf.sample    2013-09-06 15:49:12.755575251 -0700
5 @@ -111,7 +111,7 @@
6  #
7  
8  # the filename to use with sqlite (string value)
9 -#sqlite_db=ceilometer.sqlite
10 +sqlite_db=ceilometer.sqlite
11  
12  # If true, use synchronous mode for sqlite (boolean value)
13  #sqlite_synchronous=true
14 @@ -528,7 +528,7 @@
15  
16  # The SQLAlchemy connection string used to connect to the
17  # database (string value)
18 -#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db
19 +connection=sqlite:////var/lib/ceilometer/$sqlite_db
20  
21  # The SQLAlchemy connection string used to connect to the
22  # slave database (string value)