summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-10-29 10:22:36 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-11-12 23:46:47 +0100
commit0087ad1e0824b4b1c49ce1468bfbb2e492ac7992 (patch)
tree3f66e46800ed4e4735a1094174e9ca9952e7a1a9 /templates
parent0167e69a38734586c1a1f45786313efb3b5f73c3 (diff)
downloadipsilon-0087ad1e0824b4b1c49ce1468bfbb2e492ac7992.tar.gz
ipsilon-0087ad1e0824b4b1c49ce1468bfbb2e492ac7992.tar.xz
ipsilon-0087ad1e0824b4b1c49ce1468bfbb2e492ac7992.zip
Add test to check a real database (pgsql) works
Change config template to e able to set up ipsilon with an extrenal database. For the easy install the database server must have 3 datbases configured, and named exactly: admincondif, userprefs, transactions If different names are required manual instalation will be necessary. Database URLs (including credentials) can be set using the new option named --database-url Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/install/ipsilon.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf
index 83b9704..2e402a3 100644
--- a/templates/install/ipsilon.conf
+++ b/templates/install/ipsilon.conf
@@ -5,9 +5,9 @@ template_dir = "templates"
log.screen = ${debugging}
base.mount = "/${instance}"
base.dir = "${staticdir}"
-admin.config.db = "${datadir}/adminconfig.sqlite"
-user.prefs.db = "${datadir}/userprefs.sqlite"
-transactions.db = "${datadir}/transactions.sqlite"
+admin.config.db = "${admindb}"
+user.prefs.db = "${usersdb}"
+transactions.db = "${transdb}"
tools.sessions.on = True
tools.sessions.name = "${instance}_ipsilon_session_id"