Fix binding issues

Close bug #229

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-02-12 12:14:49 +01:00
parent ba548c8749
commit 05244d67c9
4 changed files with 12 additions and 3 deletions

View File

@ -33,8 +33,7 @@ class cloud::compute::controller(
'nova::scheduler', 'nova::scheduler',
'nova::cert', 'nova::cert',
'nova::consoleauth', 'nova::consoleauth',
'nova::conductor', 'nova::conductor'
'nova::spicehtml5proxy'
]: ]:
enabled => true, enabled => true,
} }
@ -48,6 +47,11 @@ class cloud::compute::controller(
neutron_metadata_proxy_shared_secret => $neutron_metadata_proxy_shared_secret, neutron_metadata_proxy_shared_secret => $neutron_metadata_proxy_shared_secret,
} }
class { 'nova::spicehtml5proxy':
enabled => true,
host => $api_eth
}
@@haproxy::balancermember{"${::fqdn}-compute_api_ec2": @@haproxy::balancermember{"${::fqdn}-compute_api_ec2":
listening_service => 'ec2_api_cluster', listening_service => 'ec2_api_cluster',
server_names => $::hostname, server_names => $::hostname,

View File

@ -56,6 +56,7 @@ class cloud::telemetry::server(
keystone_password => $ks_ceilometer_password, keystone_password => $ks_ceilometer_password,
keystone_host => $ks_keystone_internal_host, keystone_host => $ks_keystone_internal_host,
keystone_protocol => $ks_keystone_internal_proto, keystone_protocol => $ks_keystone_internal_proto,
host => $api_eth
} }
# Configure TTL for samples # Configure TTL for samples

View File

@ -89,7 +89,10 @@ describe 'cloud::compute::controller' do
end end
it 'configure nova-spicehtml5proxy' do it 'configure nova-spicehtml5proxy' do
should contain_class('nova::spicehtml5proxy').with(:enabled => true) should contain_class('nova::spicehtml5proxy').with(
:enabled => true,
:host => '10.0.0.1'
)
end end
it 'configure nova-cert' do it 'configure nova-cert' do

View File

@ -94,6 +94,7 @@ describe 'cloud::telemetry::server' do
:keystone_password => 'secrete', :keystone_password => 'secrete',
:keystone_host => '10.0.0.1', :keystone_host => '10.0.0.1',
:keystone_protocol => 'http', :keystone_protocol => 'http',
:host => '10.0.0.1'
) )
end end