Correcting the indentation.
This commit is contained in:
parent
2fe783a595
commit
4558329742
@ -5,15 +5,15 @@
|
|||||||
# This file is managed by Salt.
|
# This file is managed by Salt.
|
||||||
# Any changes will be overwritten.
|
# Any changes will be overwritten.
|
||||||
{{ '\n' }}
|
{{ '\n' }}
|
||||||
{%- import_yaml 'keepalived/defaults.yaml' as keepalived_defaults %}
|
{%- import_yaml 'keepalived/defaults.yaml' as keepalived_defaults -%}
|
||||||
{%- set keepalived_final_values = salt.pillar.get(
|
{%- set keepalived_final_values = salt.pillar.get(
|
||||||
'keepalived',
|
'keepalived',
|
||||||
default=keepalived_defaults,
|
default=keepalived_defaults,
|
||||||
merge=True) %}
|
merge=True) -%}
|
||||||
|
|
||||||
{%- macro config_entries(data, indents) -%}
|
{%- macro config_entries(data, indents) -%}
|
||||||
{%- if data is string or data is number -%}
|
{%- if data is string or data is number -%}
|
||||||
{{ data|indent(indents, True) }}{{ '\n' }}
|
{{ string(data)|indent(indents, True) }}{{ '\n' }}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{%- if indents != 0 -%}
|
{%- if indents != 0 -%}
|
||||||
{{- " {\n" -}}
|
{{- " {\n" -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user