Skip to content

Commit

Permalink
add cidr for vip in vrrp
Browse files Browse the repository at this point in the history
  • Loading branch information
mergwyn committed Jul 30, 2024
1 parent 538afbd commit 4f6b13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site-modules/profile/manifests/app/keepalived/dns.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
priority => 150,
auth_type => 'PASS',
auth_pass => lookup('secrets::keepalived'),
virtual_ipaddress => [ $v_ip ],
virtual_ipaddress => [ "${$v_ip}/${lookup('defaults::bits')}" ],
# track_interface => [ $wan, "${vpn} weight 5"], # optional, monitor these interfaces.
#track_script => 'check_dns',
}
Expand Down

0 comments on commit 4f6b13f

Please sign in to comment.