From a9bda337a1dfd1a0086f3b2e954a0f0c737752a0 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 22 May 2021 16:37:50 +0200 Subject: [PATCH] better lemur integration --- tmpl/risotto.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tmpl/risotto.conf b/tmpl/risotto.conf index 4d49cb1..81f2d83 100644 --- a/tmpl/risotto.conf +++ b/tmpl/risotto.conf @@ -19,6 +19,12 @@ CELERYRISOTTO_DB_NAME="%%celeryrisotto_main_dbname" CELERYRISOTTO_DB_USER="%%var" CELERYRISOTTO_DB_PASSWORD=replace_me %end if +%set %%var = %%getVar('lemur_db_user', None) +%if not %%is_empty(%%var) +LEMUR_DB_NAME="%%lemur_db_name" +LEMUR_DB_USER="%%var" +LEMUR_DB_PASSWORD='replace_me' +%end if %set %%var = %%getVar('password_admin_username', None) %if not %%is_empty(%%var) PASSWORD_ADMIN_USERNAME="%%password_admin_username"