Skip to content

Commit

Permalink
Fix quotes to generate correct authinfo format
Browse files Browse the repository at this point in the history
  • Loading branch information
smoeding committed Nov 27, 2023
1 parent 8ad45fc commit 404e340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/authinfo/entry.pp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
$real_values = $values.filter |$item| { length($item) > 2 }

# Add quotes to each array element
$quoted_values = $real_values.map |$item| { "`${item}'" }
$quoted_values = $real_values.map |$item| { "\"${item}\"" }

# Join to a single string
$value = join($quoted_values, ' ')
Expand Down

0 comments on commit 404e340

Please sign in to comment.