Replace port 35357 with 5000

Now that the v2.0 API has been removed, we don't have a reason to
include deployment instructions for two separate applications on
different ports.

Change-Id: Ic1d30e49dc878f997c4d8e0eb228b2e80da578c1
This commit is contained in:
qiaomin 2018-05-13 01:00:15 +08:00
parent 5ab39bbed9
commit 449593df6a
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
#
# [*auth_url*]
# (Optional) The URL to use for authentication.
# Defaults to 'http://localhost:35357'.
# Defaults to 'http://localhost:5000'.
#
# [*project_name*]
# (Optional) Service project name
@ -186,7 +186,7 @@
class congress::keystone::authtoken(
$password,
$username = 'congress',
$auth_url = 'http://localhost:35357',
$auth_url = 'http://localhost:5000',
$project_name = 'services',
$user_domain_name = 'Default',
$project_domain_name = 'Default',

View File

@ -18,7 +18,7 @@ describe 'congress::keystone::authtoken' do
it 'configure keystone_authtoken' do
is_expected.to contain_congress_config('keystone_authtoken/username').with_value('congress')
is_expected.to contain_congress_config('keystone_authtoken/password').with_value('congress_password')
is_expected.to contain_congress_config('keystone_authtoken/auth_url').with_value('http://localhost:35357')
is_expected.to contain_congress_config('keystone_authtoken/auth_url').with_value('http://localhost:5000')
is_expected.to contain_congress_config('keystone_authtoken/project_name').with_value('services')
is_expected.to contain_congress_config('keystone_authtoken/user_domain_name').with_value('Default')
is_expected.to contain_congress_config('keystone_authtoken/project_domain_name').with_value('Default')
@ -58,7 +58,7 @@ describe 'congress::keystone::authtoken' do
:www_authenticate_uri => 'https://10.0.0.1:9999/',
:username => 'myuser',
:password => 'mypasswd',
:auth_url => 'https://127.0.0.1:35357',
:auth_url => 'https://127.0.0.1:5000',
:project_name => 'service_project',
:user_domain_name => 'domainX',
:project_domain_name => 'domainX',