Fix undefined variable
Make sure that auth_type variable is always defined to avoid PreformattedError in Puppet 8. Change-Id: Ia8d2a850987bec95ac646ae0a7cd579c37fe08f7
This commit is contained in:
parent
275d6a2ffe
commit
feec56d0c8
@ -253,6 +253,7 @@ class swift::proxy(
|
||||
$auth_type = 'keystone'
|
||||
} else {
|
||||
warning('no auth type provided in the pipeline')
|
||||
$auth_type = undef
|
||||
}
|
||||
|
||||
if $pipeline[-1] != 'proxy-server' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user