From cd8e64b585a1b4d39a2d9ca1795f740ec32a9b64 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 17 Apr 2018 11:55:33 +0200 Subject: [PATCH] TT#26264 Ensure haproxy is running on Carrier only (it is not necessary on CE/PRO) Change-Id: Id8d010b11513db8c4dc796fc785bdb878e65e153 --- templates/510_init-daemons-ngcp.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 7dc3591..4d532ef 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -58,7 +58,7 @@ service: haproxy.service: enabled: false - running: [% is_lb && haproxy.enable == "yes" ? 'true' : 'false' %] + running: [% is_lb && haproxy.enable == "yes" && general.ngcp_type == 'carrier' ? 'true' : 'false' %] hb_watchdog.service: enabled: [% heartbeat.hb_watchdog.enable == 'yes' ? 'true' : 'false' %]