Use postgresql template0 as database template

This commit is contained in:
Benjamin Bohard 2020-06-30 10:39:48 +02:00
parent ad7b3dcfd8
commit 7cc19606c1
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address')
dbport: 5432 dbport: 5432
dbtype: postgres dbtype: postgres
dbname: %%dbname dbname: %%dbname
template: 'postgres' template: 'template0'
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql'] sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
pwd_files: pwd_files:
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='} - {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='}

View File

@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address')
dbport: 5432 dbport: 5432
dbtype: postgres dbtype: postgres
dbname: %%getVar('risotto_tiramisu_dbname') dbname: %%getVar('risotto_tiramisu_dbname')
template: 'postgres' template: 'template0'
pwd_files: pwd_files:
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'TIRAMISU_DB_PASSWORD='} - {'file': '/etc/risotto/risotto.conf', 'pattern': 'TIRAMISU_DB_PASSWORD='}