Fix invalid string concatenation

Puppet does not support concatenating strings by + .

Change-Id: I2c5410408dd3fd837e55a538e46de4f4fe5127be
(cherry picked from commit 7558e5bfa1)
This commit is contained in:
Takashi Kajinami 2024-07-02 22:22:08 +09:00
parent 23db16b256
commit 753b0f8e05

View File

@ -190,19 +190,18 @@ class keystone::federation::openidc (
}
if !($openidc_verify_method in ['introspection', 'jwks']) {
fail('Unsupported token verification method.' +
' Must be one of "introspection" or "jwks"')
fail('Unsupported token verification method. Must be one of "introspection" or "jwks"')
}
if ($openidc_verify_method == 'introspection') {
if $openidc_enable_oauth and !$openidc_introspection_endpoint {
fail('You must set openidc_introspection_endpoint when enabling oauth support' +
' and introspection.')
fail("You must set openidc_introspection_endpoint when enabling oauth support \
and introspection.")
}
} elsif ($openidc_verify_method == 'jwks') {
if $openidc_enable_oauth and !$openidc_verify_jwks_uri {
fail('You must set openidc_verify_jwks_uri when enabling oauth support' +
' and local signature verification using a JWKS URL')
fail("You must set openidc_verify_jwks_uri when enabling oauth support \
and local signature verification using a JWKS URL")
}
}