summaryrefslogtreecommitdiffstats
path: root/roles/openshift_loadbalancer/templates
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-12-18 15:21:21 -0500
committerMichael Gugino <mgugino@redhat.com>2017-12-18 18:16:16 -0500
commit313b15fb2668cbe6738802f913a9caa6203083b2 (patch)
tree533fe287d8b9f05b80f84ebd1dafb37da8025d72 /roles/openshift_loadbalancer/templates
parentee8592c34d48f9b65b38aab6cfb8f57a4b5edcbd (diff)
downloadopenshift-313b15fb2668cbe6738802f913a9caa6203083b2.tar.gz
openshift-313b15fb2668cbe6738802f913a9caa6203083b2.tar.bz2
openshift-313b15fb2668cbe6738802f913a9caa6203083b2.tar.xz
openshift-313b15fb2668cbe6738802f913a9caa6203083b2.zip
Remove some small items from openshift_facts
Remove some small items from openshift_facts that don't need to be there.
Diffstat (limited to 'roles/openshift_loadbalancer/templates')
-rw-r--r--roles/openshift_loadbalancer/templates/haproxy.docker.service.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2 b/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2
index 0343a7eb0..90111449c 100644
--- a/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2
+++ b/roles/openshift_loadbalancer/templates/haproxy.docker.service.j2
@@ -5,7 +5,7 @@ PartOf={{ openshift_docker_service_name }}.service
[Service]
ExecStartPre=-/usr/bin/docker rm -f openshift_loadbalancer
-ExecStart=/usr/bin/docker run --rm --name openshift_loadbalancer {% for frontend in openshift_loadbalancer_frontends %} {% for bind in frontend.binds %} -p {{ bind |regex_replace('^[^:]*:(\d+).*$', '\\1') }}:{{ bind |regex_replace('^[^:]*:(\d+).*$', '\\1') }} {% endfor %} {% endfor %} -v /etc/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro --entrypoint=haproxy {{ openshift.common.router_image }}:{{ openshift_image_tag }} -f /etc/haproxy/haproxy.cfg
+ExecStart=/usr/bin/docker run --rm --name openshift_loadbalancer {% for frontend in openshift_loadbalancer_frontends %} {% for bind in frontend.binds %} -p {{ bind |regex_replace('^[^:]*:(\d+).*$', '\\1') }}:{{ bind |regex_replace('^[^:]*:(\d+).*$', '\\1') }} {% endfor %} {% endfor %} -v /etc/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro --entrypoint=haproxy {{ openshift_router_image }}:{{ openshift_image_tag }} -f /etc/haproxy/haproxy.cfg
ExecStartPost=/usr/bin/sleep 10
ExecStop=/usr/bin/docker stop openshift_loadbalancer
LimitNOFILE={{ openshift_loadbalancer_limit_nofile | default(100000) }}