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: I168b731b37a714500a5600d0f5f95e229efa25fd
This commit is contained in:
parent
21ac4a6ed1
commit
fa57613789
|
@ -13,7 +13,7 @@
|
||||||
#
|
#
|
||||||
# [*auth_url*]
|
# [*auth_url*]
|
||||||
# (Optional) The URL to use for authentication.
|
# (Optional) The URL to use for authentication.
|
||||||
# Defaults to 'http://localhost:35357'
|
# Defaults to 'http://localhost:5000'
|
||||||
#
|
#
|
||||||
# [*project_name*]
|
# [*project_name*]
|
||||||
# (Optional) Service project name
|
# (Optional) Service project name
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
class magnum::keystone::authtoken(
|
class magnum::keystone::authtoken(
|
||||||
$password,
|
$password,
|
||||||
$username = 'magnum',
|
$username = 'magnum',
|
||||||
$auth_url = 'http://localhost:35357',
|
$auth_url = 'http://localhost:5000',
|
||||||
$project_name = 'services',
|
$project_name = 'services',
|
||||||
$user_domain_name = 'Default',
|
$user_domain_name = 'Default',
|
||||||
$project_domain_name = 'Default',
|
$project_domain_name = 'Default',
|
||||||
|
|
|
@ -17,7 +17,7 @@ describe 'magnum::keystone::authtoken' do
|
||||||
it 'configure keystone_authtoken' do
|
it 'configure keystone_authtoken' do
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/username').with_value('magnum')
|
is_expected.to contain_magnum_config('keystone_authtoken/username').with_value('magnum')
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/password').with_value('magnum_password')
|
is_expected.to contain_magnum_config('keystone_authtoken/password').with_value('magnum_password')
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/auth_url').with_value('http://localhost:35357')
|
is_expected.to contain_magnum_config('keystone_authtoken/auth_url').with_value('http://localhost:5000')
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/project_name').with_value('services')
|
is_expected.to contain_magnum_config('keystone_authtoken/project_name').with_value('services')
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/admin_user').with_value('magnum')
|
is_expected.to contain_magnum_config('keystone_authtoken/admin_user').with_value('magnum')
|
||||||
is_expected.to contain_magnum_config('keystone_authtoken/admin_password').with_value('magnum_password')
|
is_expected.to contain_magnum_config('keystone_authtoken/admin_password').with_value('magnum_password')
|
||||||
|
@ -60,7 +60,7 @@ describe 'magnum::keystone::authtoken' do
|
||||||
:www_authenticate_uri => 'https://10.0.0.1:9999/',
|
:www_authenticate_uri => 'https://10.0.0.1:9999/',
|
||||||
:username => 'myuser',
|
:username => 'myuser',
|
||||||
:password => 'mypasswd',
|
:password => 'mypasswd',
|
||||||
:auth_url => 'http://:127.0.0.1:35357',
|
:auth_url => 'http://:127.0.0.1:5000',
|
||||||
:project_name => 'service_project',
|
:project_name => 'service_project',
|
||||||
:user_domain_name => 'domainX',
|
:user_domain_name => 'domainX',
|
||||||
:project_domain_name => 'domainX',
|
:project_domain_name => 'domainX',
|
||||||
|
|
Loading…
Reference in New Issue