Merge pull request #9 from tampakrap/smtp_connect_timeout
fix the name of smtp_connect_timeout in the template
This commit is contained in:
commit
e5a4176f48
@ -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…
x
Reference in New Issue
Block a user