Fix keystone URLs in noop tests

Fix some outdated noop rspec tests to match with the current
manifests.

Change-Id: I4bf4bc583fba96a5f0b109cf9e74bd82d3fa1bfe
Fuel-CI: disable
Partial-bug: #1535339
This commit is contained in:
Aleksandr Didenko 2016-03-16 10:00:04 +01:00
parent 9aacd8bbd2
commit 714f474776
2 changed files with 4 additions and 4 deletions

View File

@ -83,11 +83,11 @@ describe manifest do
it {
if Noop.hiera('external_lb', false)
url = internal_url
url = "#{internal_url}/v3"
provider = 'http'
else
url = 'http://' + Noop.hiera('service_endpoint').to_s + ':10000/;csv'
provider = Puppet::Type.type(:haproxy_backend_status).defaultprovider.name
provider = Puppet::Type.type(:haproxy_backend_status).defaultprovider.name
end
should contain_haproxy_backend_status('keystone-public').with(
:url => url,
@ -97,7 +97,7 @@ describe manifest do
it {
if Noop.hiera('external_lb', false)
url = admin_url
url = "#{admin_url}/v3"
provider = 'http'
else
url = 'http://' + Noop.hiera('service_endpoint').to_s + ':10000/;csv'

View File

@ -155,7 +155,7 @@ describe manifest do
"Class[heat::keystone::domain]")
end
if Noop.hiera('external_lb', false)
url = "#{admin_auth_protocol}://#{admin_auth_address}:35357/"
url = "#{admin_auth_protocol}://#{admin_auth_address}:35357/v3"
provider = 'http'
else
url = 'http://' + Noop.hiera('service_endpoint').to_s + ':10000/;csv'