Update keepalived.jinja

This commit is contained in:
Frits 2015-10-15 12:29:05 -07:00
parent 772c5a5b5b
commit 14abf641f4

View File

@ -17,7 +17,7 @@ global_defs {
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
} }
notificaiton_email_from {{ salt['pillar.get']('keepalived:defaults:notification_email_from', 'keepalived@'~salt['grains.get']('fqdn') ) }} notification_email_from {{ salt['pillar.get']('keepalived:defaults:notification_email_from', 'keepalived@'~salt['grains.get']('fqdn') ) }}
smtp_server {{ salt['pillar.get']('keepalived:defaults:smtp_server', 'localhost') }} smtp_server {{ salt['pillar.get']('keepalived:defaults:smtp_server', 'localhost') }}
{%- if 'smtp_timeout' in salt['pillar.get']('keepalived:global_defs') %} {%- if 'smtp_timeout' in salt['pillar.get']('keepalived:global_defs') %}
smtp_timeout {{ salt['pillar.get']('keepalived:defaults:smtp_timeout') }} smtp_timeout {{ salt['pillar.get']('keepalived:defaults:smtp_timeout') }}