diff --git a/keepalived/templates/keepalived.jinja b/keepalived/templates/keepalived.jinja index 142b691..92e90bb 100644 --- a/keepalived/templates/keepalived.jinja +++ b/keepalived/templates/keepalived.jinja @@ -13,7 +13,7 @@ {%- macro config_entries(data, indents) -%} {%- if data is string or data is number -%} -{{ string(data)|indent(indents, True) }}{{ '\n' }} +{{ data|string|indent(indents, True) }}{{ '\n' }} {%- else -%} {%- if indents != 0 -%} {{- " {\n" -}}