From 6b8a6a91c230a495fd227d0115258adcef0ac264 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 24 Oct 2018 14:47:18 +0400 Subject: [ha] Add haproxy on opendaylight nodes Setup haproxy on opendaylight nodes to listen/bind on VIP address. Keepalived will be checking existence of haproxy daemon. Change-Id: Ie0a3a6ebb82523388d528529709415644f67a380 Signed-off-by: Michael Polenchuk --- mcp/config/states/opendaylight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/config') diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight index de15d0cef..b17b15ef1 100755 --- a/mcp/config/states/opendaylight +++ b/mcp/config/states/opendaylight @@ -14,7 +14,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh" # Get OpenDaylight server options with prefix odl_ function odl() { - salt --out txt -I 'opendaylight:server' pillar.get "opendaylight:server:odl_$1" | cut -d ' ' -f2 + salt --out txt -I 'opendaylight:server and *01*' pillar.get "opendaylight:server:odl_$1" | cut -d ' ' -f2 } wait_for 5.0 "salt -I 'opendaylight:server' state.sls opendaylight" -- cgit 1.2.3-korg