2020-09-06 09:48:32 +02:00
|
|
|
%from os import listdir
|
2020-09-19 07:11:36 +02:00
|
|
|
%set %%dbname = %%risotto_main_dbname
|
2020-04-03 11:46:15 +02:00
|
|
|
---
|
2020-09-19 07:11:36 +02:00
|
|
|
dbuser: %%risotto_db_user
|
2020-04-06 17:21:40 +02:00
|
|
|
dbuser_options:
|
2020-09-06 09:48:32 +02:00
|
|
|
- LOGIN
|
2020-04-06 17:21:40 +02:00
|
|
|
privileges:
|
2020-09-06 09:48:32 +02:00
|
|
|
%%{dbname}.public.*: 'ALL'
|
|
|
|
%%{dbname}.public: 'ALL'
|
|
|
|
%%{dbname}: 'ALL'
|
2020-09-19 07:11:36 +02:00
|
|
|
dbhost: %%risotto_db_address
|
2020-04-03 11:46:15 +02:00
|
|
|
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-09-06 09:48:32 +02:00
|
|
|
sqlscripts:
|
|
|
|
%for %%file in %%listdir('/usr/share/eole/db/eole-risotto/gen/')
|
|
|
|
%if %%file.endswith('.sql')
|
|
|
|
- /usr/share/eole/db/eole-risotto/gen/%%file
|
|
|
|
%end if
|
|
|
|
%end for
|
2020-04-03 11:46:15 +02:00
|
|
|
pwd_files:
|
2020-09-06 09:48:32 +02:00
|
|
|
- {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='}
|