Fix binding issues
Close bug #229 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
ba548c8749
commit
05244d67c9
@ -33,8 +33,7 @@ class cloud::compute::controller(
|
||||
'nova::scheduler',
|
||||
'nova::cert',
|
||||
'nova::consoleauth',
|
||||
'nova::conductor',
|
||||
'nova::spicehtml5proxy'
|
||||
'nova::conductor'
|
||||
]:
|
||||
enabled => true,
|
||||
}
|
||||
@ -48,6 +47,11 @@ class cloud::compute::controller(
|
||||
neutron_metadata_proxy_shared_secret => $neutron_metadata_proxy_shared_secret,
|
||||
}
|
||||
|
||||
class { 'nova::spicehtml5proxy':
|
||||
enabled => true,
|
||||
host => $api_eth
|
||||
}
|
||||
|
||||
@@haproxy::balancermember{"${::fqdn}-compute_api_ec2":
|
||||
listening_service => 'ec2_api_cluster',
|
||||
server_names => $::hostname,
|
||||
|
@ -56,6 +56,7 @@ class cloud::telemetry::server(
|
||||
keystone_password => $ks_ceilometer_password,
|
||||
keystone_host => $ks_keystone_internal_host,
|
||||
keystone_protocol => $ks_keystone_internal_proto,
|
||||
host => $api_eth
|
||||
}
|
||||
|
||||
# Configure TTL for samples
|
||||
|
@ -89,7 +89,10 @@ describe 'cloud::compute::controller' do
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
it 'configure nova-cert' do
|
||||
|
@ -94,6 +94,7 @@ describe 'cloud::telemetry::server' do
|
||||
:keystone_password => 'secrete',
|
||||
:keystone_host => '10.0.0.1',
|
||||
:keystone_protocol => 'http',
|
||||
:host => '10.0.0.1'
|
||||
)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user