identity: fix unit tests

Close #98

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-01-29 10:29:04 +01:00
parent e72f1d3cf6
commit d44bd4a7b4

View File

@ -91,7 +91,7 @@ describe 'cloud::identity' do
it 'configure keystone server' do it 'configure keystone server' do
should contain_class('keystone').with( should contain_class('keystone').with(
:enabled => false, :enabled => true,
:admin_token => 'SECRETE', :admin_token => 'SECRETE',
:compute_port => '8774', :compute_port => '8774',
:debug => true, :debug => true,
@ -118,15 +118,16 @@ describe 'cloud::identity' do
) )
end end
it 'configure apache to run keystone with wsgi' do # TODO(EmilienM) Disable WSGI - bug #98
should contain_class('keystone::wsgi::apache').with( # it 'configure apache to run keystone with wsgi' do
:servername => 'keystone.openstack.org', # should contain_class('keystone::wsgi::apache').with(
:admin_port => '35357', # :servername => 'keystone.openstack.org',
:public_port => '5000', # :admin_port => '35357',
:workers => '2', # :public_port => '5000',
:ssl => false # :workers => '2',
) # :ssl => false
end # )
# end
it 'configure keystone endpoint' do it 'configure keystone endpoint' do
should contain_class('keystone::endpoint').with( should contain_class('keystone::endpoint').with(