eole-risotto/tmpl/risotto.yml

18 lines
482 B
YAML
Raw Permalink Normal View History

%set %%dbname = %%getVar('risotto_main_dbname')
2020-04-03 11:46:15 +02:00
---
dbuser: %%getVar('risotto_db_user')
dbuser_options:
- LOGIN
privileges:
2020-04-07 14:34:37 +02:00
%%{dbname}.public.*: 'ALL'
%%{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
dbname: %%dbname
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='}