aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-08-08 17:40:29 +0300
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-08-11 04:23:43 +0000
commitc7b87f0d1b8f21a1a114afab66a1b31108135f31 (patch)
treea1ab947736a4bc86c14ee962e7e830279c3d66e1
parent233920ce677a990a8cb094c6c592a2a0fd08aaff (diff)
HAProxy: Set listen options for internal services too
This was missed from a previous commit, as described in the bug report. We need to set this variable in this case as well, else it will use the undefined variable, thus ignoring anything that the user had set. Change-Id: I6810e7bb3eed16a6478974ac759c3f720a41120a Closes-Bug: #1709332
-rw-r--r--manifests/haproxy/endpoint.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/haproxy/endpoint.pp b/manifests/haproxy/endpoint.pp
index 9139061..bc00f2d 100644
--- a/manifests/haproxy/endpoint.pp
+++ b/manifests/haproxy/endpoint.pp
@@ -133,6 +133,7 @@ define tripleo::haproxy::endpoint (
} else {
# internal service only
$public_bind_opts = {}
+ $listen_options_real = $listen_options
}
if $use_internal_certificates {