Skip to content

Commit

Permalink
Only check for deferred values at top level as is the case for this
Browse files Browse the repository at this point in the history
  • Loading branch information
traylenator committed Apr 17, 2024
1 parent 84f6235 commit 0e20673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@

# TODO: Rely on https://github.com/puppetlabs/puppetlabs-stdlib/pull/1425
# once available.
if $_template_params.stdlib::nested_values.any |$value| { $value.is_a(Deferred) } {
if $_template_params.any |$value| { $value.is_a(Deferred) } {
$_template_params_escaped = $_template_params.map | $_var , $_value | {
if $_value.is_a(Deferred) {
{ $_var => "<%= \$${_var} %>" }
Expand Down

0 comments on commit 0e20673

Please sign in to comment.