diff --git a/keepalived/defaults.yaml b/keepalived/defaults.yaml index 65a9acd..4e477bd 100644 --- a/keepalived/defaults.yaml +++ b/keepalived/defaults.yaml @@ -1,6 +1,5 @@ --- # keepalived/defaults.yaml -keepalived: - global_defs: - smtp_server: localhost +global_defs: + smtp_server: localhost diff --git a/keepalived/templates/keepalived.jinja b/keepalived/templates/keepalived.jinja index 899aff7..20b95d6 100644 --- a/keepalived/templates/keepalived.jinja +++ b/keepalived/templates/keepalived.jinja @@ -7,7 +7,7 @@ {{ '\n' }} {%- import_yaml 'keepalived/defaults.yaml' as keepalived_defaults %} {%- set keepalived_final_values = salt.pillar.get( - 'keepalived:', + 'keepalived', default=keepalived_defaults, merge=True) %}