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,