From eed7b3694b8d27fd9aab59def776e90ad1ac53a1 Mon Sep 17 00:00:00 2001 From: Andreas Kempe <kempe@lysator.liu.se> Date: Thu, 22 Aug 2024 11:51:40 +0200 Subject: [PATCH] lysgraf: use lookup function to get hiera value --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 35d8659..beda6af 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -323,7 +323,7 @@ class lysgraf { name => 'Keycloak-OAuth', allow_sign_up => true, client_id => 'grafana-oauth', - #client_secret => Sensitive(chomp($client_secret_content)), + client_secret => Sensitive(chomp(lookup('lysgraf::grafana::client_secret_content'))), scopes => 'openid email profile offline_access roles', email_attribute_path => 'email', login_attribute_path => 'username', -- GitLab