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:
parent
20b5384884
commit
2ed3195208
@ -19,8 +19,8 @@ global_defs {
|
|||||||
}
|
}
|
||||||
notification_email_from {{ salt['pillar.get']('keepalived:global_defs:notification_email_from', 'keepalived@'~salt['grains.get']('fqdn') ) }}
|
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') }}
|
smtp_server {{ salt['pillar.get']('keepalived:global_defs:smtp_server', 'localhost') }}
|
||||||
{%- if 'smtp_timeout' in salt['pillar.get']('keepalived:global_defs') %}
|
{%- if 'smtp_connect_timeout' in salt['pillar.get']('keepalived:global_defs') %}
|
||||||
smtp_timeout {{ salt['pillar.get']('keepalived:global_defs:smtp_timeout') }}
|
smtp_connect_timeout {{ salt['pillar.get']('keepalived:global_defs:smtp_connect_timeout') }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user