Commit 67c1d2b4 authored by Łukasz Nowak's avatar Łukasz Nowak

stack/caucase: Enforce temporary directory usage

All data related to the instance shall be in the instance itself, and as
temporary files are crucial for caucase, force the macro user to set the
location.
parent 0e0ccf08
......@@ -15,4 +15,4 @@
[caucase-jinja2-library]
filename = caucase.jinja2.library
md5sum = b8a5a93b8a7bacd6ebd4b6df24c7c828
md5sum = 27aba89543032f3c7026ab566f3aa41b
......@@ -4,6 +4,7 @@
caucased_path,
data_dir,
netloc,
tmp,
service_auto_approve_count=0,
user_auto_approve_count=1,
key_len=None,
......@@ -18,6 +19,11 @@ mode = 0750
[{{ prefix }}]
recipe = slapos.cookbook:wrapper
wrapper-path = {{ caucased_path }}
{%- if tmp %}
environment =
TMP={{ tmp }}
TMPDIR={{ tmp }}
{%- endif %}
command-line = '{{ buildout_bin_directory }}/caucased'
--db '${ {{- prefix }}-directory:data-dir}/caucase.sqlite'
--server-key '${ {{- prefix }}-directory:data-dir}/server.key.pem'
......
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