spec: Fix fixtures and spec test (gnocchi::keystone::auth)
This commit is contained in:
parent
c420538d8d
commit
5f4d6f2f2e
|
@ -11,4 +11,4 @@ fixtures:
|
||||||
ref: '2.5.0'
|
ref: '2.5.0'
|
||||||
'stdlib': 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
|
'stdlib': 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
|
||||||
symlinks:
|
symlinks:
|
||||||
'trove': "#{source_dir}"
|
'gnocchi': "#{source_dir}"
|
||||||
|
|
|
@ -29,7 +29,7 @@ describe 'gnocchi::keystone::auth' do
|
||||||
it { should contain_keystone_service('gnocchi').with(
|
it { should contain_keystone_service('gnocchi').with(
|
||||||
:ensure => 'present',
|
:ensure => 'present',
|
||||||
:type => 'gnocchi',
|
:type => 'gnocchi',
|
||||||
:description => 'Gnocchi Datapoint Service'
|
:description => 'OpenStack Datapoint Service'
|
||||||
) }
|
) }
|
||||||
|
|
||||||
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
|
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
|
||||||
|
@ -46,7 +46,8 @@ describe 'gnocchi::keystone::auth' do
|
||||||
:public_protocol => 'https',
|
:public_protocol => 'https',
|
||||||
:public_port => '80',
|
:public_port => '80',
|
||||||
:public_address => '10.10.10.10',
|
:public_address => '10.10.10.10',
|
||||||
:port => '81',
|
:admin_port => '81',
|
||||||
|
:internal_port => '82',
|
||||||
:internal_address => '10.10.10.11',
|
:internal_address => '10.10.10.11',
|
||||||
:admin_address => '10.10.10.12' }
|
:admin_address => '10.10.10.12' }
|
||||||
end
|
end
|
||||||
|
@ -54,7 +55,7 @@ describe 'gnocchi::keystone::auth' do
|
||||||
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
|
it { should contain_keystone_endpoint('RegionOne/gnocchi').with(
|
||||||
:ensure => 'present',
|
:ensure => 'present',
|
||||||
:public_url => "https://10.10.10.10:80",
|
: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"
|
:admin_url => "http://10.10.10.12:81"
|
||||||
) }
|
) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue