From fb464f0b7654add88e1b95e7862296eb711d65c3 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Sat, 8 Jan 2022 11:09:17 +0000 Subject: keepalived: T4150: Fix template option conntrack_sync_group conntrack_sync_group option not under 'vrrp' section but part of high-avalability dictionary --- data/templates/high-availability/keepalived.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/high-availability/keepalived.conf.tmpl b/data/templates/high-availability/keepalived.conf.tmpl index afd5f5383..bb54752fc 100644 --- a/data/templates/high-availability/keepalived.conf.tmpl +++ b/data/templates/high-availability/keepalived.conf.tmpl @@ -103,7 +103,7 @@ vrrp_sync_group {{ name }} { {% endif %} {% endfor %} {% endif %} -{% if vrrp.conntrack_sync_group is defined and vrrp.conntrack_sync_group == name %} +{% if conntrack_sync_group is defined and conntrack_sync_group == name %} {% set vyos_helper = "/usr/libexec/vyos/vyos-vrrp-conntracksync.sh" %} notify_master "{{ vyos_helper }} master {{ name }}" notify_backup "{{ vyos_helper }} backup {{ name }}" -- cgit v1.2.3