Commit a222ccfa authored by Roque's avatar Roque

Adding parameter hash-files to haproxy section

- List of configuration files that are used to generate the hash for the service wrapper's name.

/reviewed-on nexedi/slapos!333
parent 6b82838e
......@@ -91,7 +91,7 @@ md5sum = 7fb40624bd0dcd96a1df03395da64ebd
[template-balancer]
filename = instance-balancer.cfg.in
md5sum = 29cfe35d37cf615378574707978e5f75
md5sum = 55fce4e96d844cc418c586d8d9a67c29
[template-haproxy-cfg]
filename = haproxy.cfg.in
......
......@@ -161,6 +161,7 @@ extensions = jinja2.ext.do
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:services}/haproxy
command-line = "{{ parameter_dict['haproxy'] }}/sbin/haproxy" -f "${haproxy-cfg:rendered}"
hash-files = ${haproxy-cfg:rendered}
{# TODO: build socat and wrap it as "${directory:bin}/haproxy-ctl" to connect to "${haproxy-cfg-parameter-dict:socket-path}" #}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment