From afa202e25929cdfd70f15004b5f3b55873a8fde5 Mon Sep 17 00:00:00 2001
From: Doug Szumski <doug@stackhpc.com>
Date: Thu, 15 Feb 2024 10:55:51 +0000
Subject: [PATCH] CI: Fix prometheus-opensearch-upgrade CI job

The upgrade job needs the haproxy exporter group, which
was missing from the inventory.

Change-Id: Ie4ecf283a2f4ac056ace5e76f2acc4ba1a8fe0b4
---
 tests/templates/inventory.j2 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2
index 74f5b21b34..4dc4b03cc4 100644
--- a/tests/templates/inventory.j2
+++ b/tests/templates/inventory.j2
@@ -681,6 +681,12 @@ storage
 [prometheus-mysqld-exporter:children]
 mariadb
 
+# TODO(dougszu): Remove in D cycle
+{% if is_upgrade %}
+[prometheus-haproxy-exporter:children]
+loadbalancer
+{% endif %}
+
 [prometheus-memcached-exporter:children]
 memcached