Skip to content

Commit

Permalink
IPv6: Make sure the address written to crowbarrc is wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewoliver committed Jul 4, 2019
1 parent 4e70134 commit ee488f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chef/cookbooks/crowbar/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
if node[:crowbar][:network].key?(:admin) && node[:crowbar].key?(:apache)
address = node[:crowbar][:network][:admin][:address]
protocol = node[:crowbar][:apache][:ssl] ? "https" : "http"
server = "#{protocol}://#{address}"
server = "#{protocol}://#{NetworkHelper.wrap_ip(address)}"
verify_ssl = !node[:crowbar][:apache][:insecure]
else
server = nil
Expand Down

0 comments on commit ee488f9

Please sign in to comment.