From e57491edc31cce1974bdf554e7f38706bca89104 Mon Sep 17 00:00:00 2001 From: cocker-cc Date: Fri, 10 May 2024 14:08:05 +0200 Subject: [PATCH] Eliminate Workaround for Sensitive Since Puppet 6 already was dropped in 4b4cc870d6c85ea3f16bde8ad0585e4bfad67b90, this Workaround in not needed anymore. Fixes 8dbe6b4ee897b2225aae9cec4059cee10d763fdf --- manifests/config.pp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index ad8ec50..fde3855 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -18,13 +18,7 @@ ), } - if $chrony::chrony_password =~ Sensitive { - # unwrap before Puppet 6.24 can only be called on Sensitive values - $chrony_password = $chrony::chrony_password.unwrap - } else { - $chrony_password = $chrony::chrony_password - } - + $chrony_password = $chrony::chrony_password.unwrap $keys_params = { 'chrony_password' => $chrony_password, 'commandkey' => $chrony::commandkey,