Improve Horizon unit tests
It still miss a test for exported ressource (haproxy) Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
d49ce39f15
commit
eac69736f7
@ -23,22 +23,28 @@ describe 'privatecloud::dashboard' do
|
||||
shared_examples_for 'openstack dashboard' do
|
||||
|
||||
let :params do
|
||||
{ :listen_ssl => false,
|
||||
:secret_key => '/etc/ssl/secret' }
|
||||
{ :listen_ssl => false,
|
||||
:ks_keystone_internal_host => 'localhost',
|
||||
:ks_keystone_internal_host => 'localhost',
|
||||
:secret_key => '/etc/ssl/secret' }
|
||||
end
|
||||
|
||||
it 'configure horizon' do
|
||||
should contain_class('horizon').with(
|
||||
:listen_ssl => false,
|
||||
:secret_key => '/etc/ssl/secret'
|
||||
it 'configure horizon with some params' do
|
||||
should contain_class('horizon').with(
|
||||
:listen_ssl => false,
|
||||
:secret_key => '/etc/ssl/secret',
|
||||
:keystone_host => 'localhost',
|
||||
:can_set_mount_point => 'False',
|
||||
:fqdn => '10.0.0.1,'
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
{ :osfamily => 'Debian',
|
||||
{ :osfamily => 'Debian',
|
||||
:operatingsystemrelease => '12.04',
|
||||
:ipaddress_eth0 => '10.0.0.1',
|
||||
:concat_basedir => '/var/lib/puppet/concat' }
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user