better lemur integration

This commit is contained in:
2021-05-22 16:38:47 +02:00
parent ba59a8aaeb
commit 2eb256a760
4 changed files with 26 additions and 0 deletions

View File

@ -26,6 +26,7 @@ LEMUR_ALLOWED_DOMAINS = []
LEMUR_EMAIL = '%%lemur_admin_email'
LEMUR_SECURITY_TEAM_EMAIL = []
LEMUR_EMAIL_SENDER = 'smtp'
# Certificate Defaults

View File

@ -16,3 +16,7 @@ sqlscripts:
- /usr/share/eole/db/lemur/gen/lemur.sql
pwd_files:
- {'file': '/etc/lemur/lemur.conf.py', 'pattern': "SQLALCHEMY_DATABASE_PASSWORD = '"}
%set %%var = %%getVar('risotto_main_dbname', None)
%if not %%is_empty(%%var)
- {'file': '/etc/risotto/risotto.conf', 'pattern': "LEMUR_DB_PASSWORD='"}
%end if