Commit 58f4bdf5 authored by Vincent Pelletier's avatar Vincent Pelletier

varnish: Provide backend-url to recipe as parameter.

parent be50f997
......@@ -23,6 +23,7 @@ url = http://${varnish-instance:ip}:${varnish-instance:server-port}/
[varnish-instance]
recipe = slapos.cookbook:generic.varnish
backend-url = {{ slapparameter_dict['backend-url'] }}
# Network options
ip = ${slap-network-information:local-ipv4}
......
......@@ -87,7 +87,7 @@ extra-context =
[template-varnish]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in
md5sum = d1d174222fccd76729ac9e4c36be0a0a
md5sum = 699d31010ec9924093dfdc8f4f40d341
mode = 640
[eggs]
......
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