Merge pull request #36 from myii/fix/print_config
fix(keepalived.conf.tmpl.jinja): fix `has no attribute` error
This commit is contained in:
commit
e6aed1136e
@ -6,5 +6,5 @@
|
||||
{%- from "keepalived/macro.jinja" import print_config %}
|
||||
{%- set sections = ['global_defs', 'vrrp_script', 'vrrp_instance', 'virtual_server'] %}
|
||||
{%- for section in sections %}
|
||||
{{ print_config({ section: config[section] }) }}
|
||||
{{ print_config({ section: config[section]|d({}) }) }}
|
||||
{%- endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user