Skip to content

Commit

Permalink
Fixing if service is webui add notify master and backup
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezborder committed Oct 7, 2024
1 parent 350e832 commit 27ab0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/templates/default/keepalived.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ vrrp_instance vi_<%= ip %> {
virtual_ipaddress {
<%= ip %>/32
}
<% if services.select{ |x| x["service"]=="webui" } %>
<% if services.detect { |x| x["service"] == "webui" } %>
notify_master "/usr/lib/redborder/bin/rb_keepalived_master_notify_webui.sh"
notify_backup "/usr/lib/redborder/bin/rb_keepalived_backup_notify_webui.sh"
<% end %>
Expand Down

0 comments on commit 27ab0b8

Please sign in to comment.