From 7558e5bfa19399e969401a7fe97feea5cce4430f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 2 Jul 2024 22:22:08 +0900 Subject: [PATCH] Fix invalid string concatenation Puppet does not support concatenating strings by + . Change-Id: I2c5410408dd3fd837e55a538e46de4f4fe5127be --- manifests/federation/openidc.pp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/manifests/federation/openidc.pp b/manifests/federation/openidc.pp index 32c26cd17..f8971676c 100644 --- a/manifests/federation/openidc.pp +++ b/manifests/federation/openidc.pp @@ -195,19 +195,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") } }