From 6ff28ed4dbb5db567a1cdde28e73f295fb754da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kenneth=20=C3=98strup?= Date: Tue, 1 Dec 2015 11:04:43 +0100 Subject: [PATCH] Fixed incorrect reference to pillar keepalived.defaults scope. --- keepalived/templates/keepalived.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keepalived/templates/keepalived.jinja b/keepalived/templates/keepalived.jinja index f476d05..18c0200 100644 --- a/keepalived/templates/keepalived.jinja +++ b/keepalived/templates/keepalived.jinja @@ -17,10 +17,10 @@ global_defs { {%- endfor %} {%- endif %} } - 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') }} + 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:defaults:smtp_timeout') }} + smtp_timeout {{ salt['pillar.get']('keepalived:global_defs:smtp_timeout') }} {%- endif %} }