Skip to content

Commit

Permalink
Stop using ipaddress6 top-level fact
Browse files Browse the repository at this point in the history
  • Loading branch information
jay7x committed Oct 15, 2023
1 parent 36d7338 commit 3a8d5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/streamhost/streamhost.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ server {
<%- end -%>
<%# check to see if ipv6 support exists in the kernel before applying -%>
<%# FIXME this logic is duplicated all over the place -%>
<%- if @ipv6_enable && (defined? @ipaddress6) -%>
<%- if @ipv6_enable && (defined? @facts.fetch('networking', {})['ip6']) -%>
<%- if @ipv6_listen_ip.is_a?(Array) then -%>
<%- @ipv6_listen_ip.each do |ipv6| -%>
listen [<%= ipv6 %>]:<%= @ipv6_listen_port %> <% if @ipv6_listen_options %><%= @ipv6_listen_options %><% end %>;
Expand Down

0 comments on commit 3a8d5b1

Please sign in to comment.