Skip to content

Commit

Permalink
Eliminate Workaround for Sensitive
Browse files Browse the repository at this point in the history
Since Puppet 6 already was dropped in
4b4cc87, this Workaround in not needed
anymore.

Fixes 8dbe6b4
  • Loading branch information
cocker-cc committed May 10, 2024
1 parent e59db24 commit e57491e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e57491e

Please sign in to comment.