From 86cd6d3ff1f4bfe3b56b9d08cf69478948a43960 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 7 Jul 2025 23:02:00 +0900 Subject: [PATCH] Remove trailing slash from default auth_url ... to use the consistent default across services. Change-Id: I1144e4f31b00fc555b0587ab41482f752b3e0a96 Signed-off-by: Takashi Kajinami --- manifests/keystone/authtoken.pp | 2 +- spec/classes/nova_keystone_authtoken_spec.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/keystone/authtoken.pp b/manifests/keystone/authtoken.pp index 5eb9fd528..3e888131b 100644 --- a/manifests/keystone/authtoken.pp +++ b/manifests/keystone/authtoken.pp @@ -197,7 +197,7 @@ class nova::keystone::authtoken( String[1] $password, $username = 'nova', - $auth_url = 'http://127.0.0.1:5000/', + $auth_url = 'http://127.0.0.1:5000', $project_name = 'services', $user_domain_name = 'Default', $project_domain_name = 'Default', diff --git a/spec/classes/nova_keystone_authtoken_spec.rb b/spec/classes/nova_keystone_authtoken_spec.rb index 532a250c4..6e03ef41b 100644 --- a/spec/classes/nova_keystone_authtoken_spec.rb +++ b/spec/classes/nova_keystone_authtoken_spec.rb @@ -14,7 +14,7 @@ describe 'nova::keystone::authtoken' do is_expected.to contain_keystone__resource__authtoken('nova_config').with( :username => 'nova', :password => 'nova_password', - :auth_url => 'http://127.0.0.1:5000/', + :auth_url => 'http://127.0.0.1:5000', :project_name => 'services', :user_domain_name => 'Default', :project_domain_name => 'Default', @@ -59,7 +59,7 @@ describe 'nova::keystone::authtoken' do :www_authenticate_uri => 'https://10.0.0.1:9999/', :username => 'myuser', :password => 'mypasswd', - :auth_url => 'http://127.0.0.1:5000', + :auth_url => 'http://127.0.0.1:5000/', :project_name => 'service_project', :user_domain_name => 'domainX', :project_domain_name => 'domainX', @@ -101,7 +101,7 @@ describe 'nova::keystone::authtoken' do :www_authenticate_uri => 'https://10.0.0.1:9999/', :username => 'myuser', :password => 'mypasswd', - :auth_url => 'http://127.0.0.1:5000', + :auth_url => 'http://127.0.0.1:5000/', :project_name => 'service_project', :user_domain_name => 'domainX', :project_domain_name => 'domainX',