Skip to content
Snippets Groups Projects
Unverified Commit e6aed113 authored by Imran Iqbal's avatar Imran Iqbal Committed by GitHub
Browse files

Merge pull request #36 from myii/fix/print_config

fix(keepalived.conf.tmpl.jinja): fix `has no attribute` error
parents 3e9bc915 4391459d
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment