From 2ed31952085e9126e1f1efe99f13de3f3395ff8e Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Fri, 1 Apr 2016 13:46:54 +0200 Subject: [PATCH] fix the name of smtp_connect_timeout in the template according to the manpage this is the correct name for the variable --- keepalived/templates/keepalived.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keepalived/templates/keepalived.jinja b/keepalived/templates/keepalived.jinja index 18c0200..57db711 100644 --- a/keepalived/templates/keepalived.jinja +++ b/keepalived/templates/keepalived.jinja @@ -19,8 +19,8 @@ global_defs { } notification_email_from {{ salt['pillar.get']('keepalived:global_defs:notification_email_from', 'keepalived@'~salt['grains.get']('fqdn') ) }} smtp_server {{ salt['pillar.get']('keepalived:global_defs:smtp_server', 'localhost') }} -{%- if 'smtp_timeout' in salt['pillar.get']('keepalived:global_defs') %} - smtp_timeout {{ salt['pillar.get']('keepalived:global_defs:smtp_timeout') }} +{%- if 'smtp_connect_timeout' in salt['pillar.get']('keepalived:global_defs') %} + smtp_connect_timeout {{ salt['pillar.get']('keepalived:global_defs:smtp_connect_timeout') }} {%- endif %} }