From 4a827a2dca9f15800b33b848bbf2cb36d25c3aef Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 29 Apr 2014 16:28:19 +0200 Subject: [PATCH] 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 --- manifests/loadbalancer.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index c80c1905..9258986e 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -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; }