fix(keepalived.conf.tmpl.jinja): fix has no attribute
error
* https://freenode.logbot.info/saltstack-formulas/20200122#c3126298-c3126299
This commit is contained in:
parent
3e9bc91558
commit
4391459df8
@ -6,5 +6,5 @@
|
|||||||
{%- from "keepalived/macro.jinja" import print_config %}
|
{%- from "keepalived/macro.jinja" import print_config %}
|
||||||
{%- set sections = ['global_defs', 'vrrp_script', 'vrrp_instance', 'virtual_server'] %}
|
{%- set sections = ['global_defs', 'vrrp_script', 'vrrp_instance', 'virtual_server'] %}
|
||||||
{%- for section in sections %}
|
{%- for section in sections %}
|
||||||
{{ print_config({ section: config[section] }) }}
|
{{ print_config({ section: config[section]|d({}) }) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user