From 7cc19606c1ab6dd347ed86abcf101a644b4cb447 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Tue, 30 Jun 2020 10:39:48 +0200 Subject: [PATCH] Use postgresql template0 as database template --- tmpl/risotto.yml | 2 +- tmpl/tiramisu.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tmpl/risotto.yml b/tmpl/risotto.yml index 051a540..fa3fdbf 100644 --- a/tmpl/risotto.yml +++ b/tmpl/risotto.yml @@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address') dbport: 5432 dbtype: postgres dbname: %%dbname -template: 'postgres' +template: 'template0' sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql'] pwd_files: - {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='} diff --git a/tmpl/tiramisu.yml b/tmpl/tiramisu.yml index 062d9d1..de6668f 100644 --- a/tmpl/tiramisu.yml +++ b/tmpl/tiramisu.yml @@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address') dbport: 5432 dbtype: postgres dbname: %%getVar('risotto_tiramisu_dbname') -template: 'postgres' +template: 'template0' pwd_files: - {'file': '/etc/risotto/risotto.conf', 'pattern': 'TIRAMISU_DB_PASSWORD='}