Parameterize garp settings
Change-Id: Ib7b41d1ad57bed8726ab904544ad2e8beedfe7ae
Closes-Bug: PROD-33251
diff --git a/keepalived/files/keepalived.conf b/keepalived/files/keepalived.conf
index 190f22a..9f883e1 100644
--- a/keepalived/files/keepalived.conf
+++ b/keepalived/files/keepalived.conf
@@ -22,9 +22,9 @@
{%- if instance.get('nopreempt', True) %}
state BACKUP
nopreempt
- garp_master_delay 5
- garp_master_repeat 3
- garp_master_refresh 1
+ garp_master_delay {{ instance.get('garp_master_delay', cluster.get('garp_master_delay', '5')) }}
+ garp_master_repeat {{ instance.get('garp_master_repeat', cluster.get('garp_master_repeat', '3')) }}
+ garp_master_refresh {{ instance.get('garp_master_refresh', cluster.get('garp_master_refresh', '1')) }}
{%- else %}
state MASTER
{%- endif %}