Skip to content

Commit

Permalink
Merge pull request #202 from maxkochubey/feat/auth-type-option
Browse files Browse the repository at this point in the history
Make "auth_type" variable optional with default value
  • Loading branch information
evrardjp authored Jul 11, 2022
2 parents 0c9625b + a613758 commit 967680d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ vrrp_instance {{ name }} {

{% if instance.authentication_password is defined %}
authentication {
auth_type PASS
auth_pass {{instance.authentication_password}}
auth_type {{ instance.authentication_type | default('PASS') }}
auth_pass {{ instance.authentication_password }}
}
{% endif %}
{% if instance.unicast_src_ip is defined and instance.unicast_peers|length > 0 %}
Expand Down

0 comments on commit 967680d

Please sign in to comment.