Merge pull request #4 from frots/patch-1

Fix keepalived.jinja template
This commit is contained in:
Forrest 2015-10-15 12:37:04 -07:00
commit 3a5f4c4679

View File

@ -12,7 +12,7 @@
global_defs {
notification_email {
{%- if 'notification_emails' in salt['pillar.get']('keepalived:global_defs') %}
{%- for email in salt['pillar.get']('keepalived:global_defs:notification_emails', {}).iteritems() %}
{%- for email in salt['pillar.get']('keepalived:global_defs:notification_emails', []) %}
{{ email }}
{%- endfor %}
{%- endif %}