fix the name of smtp_connect_timeout in the template

according to the manpage this is the correct name for the variable
This commit is contained in:
Theo Chatzimichos 2016-04-01 13:46:54 +02:00
parent 20b5384884
commit 2ed3195208

View File

@ -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 %}
}