<commit_before>vrrp_instance <%=  @name %> {
  virtual_router_id <%= @name %>

  # for electing MASTER, highest priority wins.
  priority  <%= @priority %>
  state     <%= @state %>

  interface <%= @interface %>

  virtual_ipaddress {
    <% @virtual_ips.each do |vip| -%>
    <%= vip %>
    <% end %>
  }

  <% if @notify then -%>notify <%= @notify %><% end %>
  <% if @notify_master then -%>notify_master <%= @notify_master %><% end %>
  <% if @notify_backup then -%>notify_backup <%= @notify_backup %><% end %>

  <% if @smtp_alert then -%>smtp_alert<% end %>
}<commit_msg>add keepalived label to interface<commit_after>vrrp_instance <%=  @name %> {
  virtual_router_id <%= @name %>

  # for electing MASTER, highest priority wins.
  priority  <%= @priority %>
  state     <%= @state %>

  interface <%= @interface %>

  virtual_ipaddress {
    <% @virtual_ips.each do |vip| -%>
        <%= vip -%> label <%= @interface -%>:keepalived
    <% end %>
  }

  <% if @notify then -%>notify <%= @notify %><% end %>
  <% if @notify_master then -%>notify_master <%= @notify_master %><% end %>
  <% if @notify_backup then -%>notify_backup <%= @notify_backup %><% end %>

  <% if @smtp_alert then -%>smtp_alert<% end %>
}
{'fraction_non_alphanumeric': 0.19835390946502057, 'fraction_numerical': 0.0, 'mean_word_length': 3.3898916967509027, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 42, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7658985', 'n_tokens_mistral': 496, 'n_tokens_neox': 413, 'n_words': 97}