From e4c4d60ba639f9fe6ba97f05a11114038d12611e Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 20 Nov 2023 12:32:55 +0100 Subject: [PATCH] Fix templates --- templates/grafana.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/grafana.ini b/templates/grafana.ini index a8fd564..0bc69b1 100644 --- a/templates/grafana.ini +++ b/templates/grafana.ini @@ -8,7 +8,7 @@ root_url = https://{{ grafana_domain }} [database] type = {{ grafana_db_type }} -{% if grafana_db_type != sqlite3 %} +{% if grafana_db_type != "sqlite3" %} host = {{ database_host }}:{{ grafana_db_port }} name = {{ grafana_db }} user = {{ grafana_db_user }} @@ -46,11 +46,11 @@ enabled = false rendering_timezone = Europe/Berlin rendering_language = de-DE +{% if grafana_auth_generic_oauth_enabled is defined and grafana_auth_generic_oauth_enabled %} [auth] signout_redirect_url = {{ grafana_auth_signout_redirect_url }} oauth_auto_login = false -{% if grafana_auth_generic_oauth_enabled is defined and grafana_auth_generic_oauth_enabled %} [auth.generic_oauth] name = {{ grafana_auth_generic_oauth_name }} enabled = true