diff --git a/manifests/init.pp b/manifests/init.pp index b60e9b03..d1fe7947 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -208,7 +208,7 @@ } if ($config_hash_real['addresses'] and $config_hash_real['addresses']['http']) { - $http_addr = $config_hash_real['addresses']['http'] + $http_addr = split($config_hash_real['addresses']['http'], ' ')[0] } elsif ($config_hash_real['client_addr']) { $http_addr = $config_hash_real['client_addr'] } else {