Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
Make sure that auth_type variable is always defined to avoid
PreformattedError in Puppet 8.

Change-Id: Ia8d2a850987bec95ac646ae0a7cd579c37fe08f7
  • Loading branch information
kajinamit committed Jan 15, 2025
1 parent 275d6a2 commit feec56d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/proxy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
$auth_type = 'keystone'
} else {
warning('no auth type provided in the pipeline')
$auth_type = undef
}

if $pipeline[-1] != 'proxy-server' {
Expand Down

0 comments on commit feec56d

Please sign in to comment.