spec: Fix fixtures and spec test (gnocchi::keystone::auth)

This commit is contained in:
Sebastien Badia 2014-12-29 14:35:55 +01:00
parent c420538d8d
commit 5f4d6f2f2e
2 changed files with 5 additions and 4 deletions

View File

@ -11,4 +11,4 @@ fixtures:
ref: '2.5.0'
'stdlib': 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
symlinks:
'trove': "#{source_dir}"
'gnocchi': "#{source_dir}"

View File

@ -29,7 +29,7 @@ describe 'gnocchi::keystone::auth' do
it { should contain_keystone_service('gnocchi').with(
:ensure => 'present',
:type => 'gnocchi',
:description => 'Gnocchi Datapoint Service'
:description => 'OpenStack Datapoint Service'
) }
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
@ -46,7 +46,8 @@ describe 'gnocchi::keystone::auth' do
:public_protocol => 'https',
:public_port => '80',
:public_address => '10.10.10.10',
:port => '81',
:admin_port => '81',
:internal_port => '82',
:internal_address => '10.10.10.11',
:admin_address => '10.10.10.12' }
end
@ -54,7 +55,7 @@ describe 'gnocchi::keystone::auth' do
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
:ensure => 'present',
:public_url => "https://10.10.10.10:80",
:internal_url => "http://10.10.10.11:81",
:internal_url => "http://10.10.10.11:82",
:admin_url => "http://10.10.10.12:81"
) }
end