From 7d964cb5d69102105d8882b64ff4a136ab69425f Mon Sep 17 00:00:00 2001
From: Andreas Kempe <kempe@lysator.liu.se>
Date: Thu, 22 Aug 2024 11:58:10 +0200
Subject: [PATCH] lysgraf: remove Sensitive function call

Using Sensitive literally puts "Sensitive [value redacted]" in the
configuration file.
---
 manifests/init.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index beda6af..e12c141 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(lookup('lysgraf::grafana::client_secret_content'))),
+        client_secret        => chomp(lookup('lysgraf::grafana::client_secret_content')),
         scopes               => 'openid email profile offline_access roles',
         email_attribute_path => 'email',
         login_attribute_path => 'username',
-- 
GitLab