2020-04-06 17:21:40 +02:00
|
|
|
%set %%dbname = %%getVar('risotto_main_dbname')
|
2020-04-03 11:46:15 +02:00
|
|
|
---
|
|
|
|
dbuser: %%getVar('risotto_db_user')
|
2020-04-06 17:21:40 +02:00
|
|
|
dbuser_options:
|
|
|
|
- LOGIN
|
|
|
|
privileges:
|
2020-04-07 14:34:37 +02:00
|
|
|
%%{dbname}.public.*: 'ALL'
|
2020-04-06 17:21:40 +02:00
|
|
|
%%{dbname}.public: 'ALL'
|
2020-04-07 14:34:37 +02:00
|
|
|
%%{dbname}: 'ALL'
|
2020-04-03 11:46:15 +02:00
|
|
|
dbhost: %%getVar('risotto_db_address')
|
|
|
|
dbport: 5432
|
|
|
|
dbtype: postgres
|
2020-04-06 17:21:40 +02:00
|
|
|
dbname: %%dbname
|
2020-06-30 10:39:48 +02:00
|
|
|
template: 'template0'
|
2020-04-03 15:02:11 +02:00
|
|
|
sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql']
|
2020-04-03 11:46:15 +02:00
|
|
|
pwd_files:
|
|
|
|
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='}
|