keepalived: use existance test, not just bool.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-05-18 20:24:37 +00:00
parent 6f5c9fbb76
commit d762294dcb

View file

@ -30,7 +30,7 @@ vrrp_instance VI_1 {
}
}
{% if keepalived2_ipaddress %}
{% if keepalived2_ipaddress is defined %}
vrrp_instance VI_2 {
# initial state
state MASTER