Skip to content

Commit

Permalink
Merge pull request #196 from cocker-cc/Eliminate_Workaround_for_Sensi…
Browse files Browse the repository at this point in the history
…tive

Eliminate Workaround for Sensitive
  • Loading branch information
kenyon authored May 10, 2024
2 parents e59db24 + e57491e commit c3884f4
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 c3884f4

Please sign in to comment.