loadbalancer: Collect Heat exported resources

Collect exported resources from cloud::orchestration::api to be able to
load-balance Heat CFN API and Heat Cloudwatch API correctly.

Bug #237
This commit is contained in:
Emilien Macchi
2014-04-29 16:28:19 +02:00
parent 047741708c
commit 4a827a2dca

View File

@@ -493,14 +493,14 @@ class cloud::loadbalancer(
if $heat_cfn_api {
cloud::loadbalancer::listen_http{
'heat_api_cfn_cluster':
'heat_cfn_api_cluster':
ports => $ks_heat_cfn_public_port,
listen_ip => $vip_public_ip;
}
}
if $heat_cfn_api_internal and $vip_internal_ip and $keepalived_internal_ipvs {
cloud::loadbalancer::listen_http {
'heat_cfn_internal_cluster':
'heat_cfn_api_internal_cluster':
ports => $ks_heat_cfn_internal_port,
listen_ip => $vip_internal_ip;
}
@@ -508,14 +508,14 @@ class cloud::loadbalancer(
if $heat_cloudwatch_api {
cloud::loadbalancer::listen_http{
'heat_api_cloudwatch_cluster':
'heat_cloudwatch_api_cluster':
ports => $ks_heat_cloudwatch_public_port,
listen_ip => $vip_public_ip;
}
}
if $heat_cloudwatch_api_internal and $vip_internal_ip and $keepalived_internal_ipvs {
cloud::loadbalancer::listen_http {
'heat_cloudwatch_internal_cluster':
'heat_cloudwatch_api_internal_cluster':
ports => $ks_heat_cloudwatch_internal_port,
listen_ip => $vip_internal_ip;
}