Fixes privilegies declaration in eoledb template

This commit is contained in:
Benjamin Bohard 2020-04-06 17:21:40 +02:00
parent c1bac94c00
commit 81f0635ef2
2 changed files with 11 additions and 1 deletions

View File

@ -1,9 +1,14 @@
%set %%dbname = %%getVar('risotto_main_dbname')
---
dbuser: %%getVar('risotto_db_user')
dbuser_options:
- LOGIN
privileges:
%%{dbname}.public: 'ALL'
dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres
dbname: %%getVar('risotto_main_dbname')
dbname: %%dbname
template: 'postgres'
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
pwd_files:

View File

@ -1,5 +1,10 @@
%set %%dbname = %%getVar('risotto_tiramisu_dbname')
---
dbuser: %%getVar('risotto_tiramisu_db_user')
dbuser_options:
- LOGIN
privileges:
%%{dbname}.public: 'ALL'
dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres