keepalived-formula/keepalived/files/default/keepalived.conf.tmpl.jinja

11 lines
464 B
Plaintext
Raw Normal View History

########################################################################
# File managed by Salt at <{{ source }}>.
# Your changes will be overwritten.
########################################################################
{%- 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] }) }}
{%- endfor %}