diff --git a/chef/cookbooks/crowbar/recipes/default.rb b/chef/cookbooks/crowbar/recipes/default.rb index 11d9c4cd3d..d537b53880 100644 --- a/chef/cookbooks/crowbar/recipes/default.rb +++ b/chef/cookbooks/crowbar/recipes/default.rb @@ -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