Commit 6ea6a564 authored by Lisa Casino's avatar Lisa Casino

software/theia: use new promises

parent a87fa476
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance-theia] [instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in _update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum = 562acf69f344fa9f6d03992d696462d0 md5sum = aa540ed17d56fb5f2b93b4b2a68c1e15
[instance] [instance]
_update_hash_filename_ = instance.cfg.in _update_hash_filename_ = instance.cfg.in
......
...@@ -142,6 +142,17 @@ config-service = $${slapos-autorun:service-name} ...@@ -142,6 +142,17 @@ config-service = $${slapos-autorun:service-name}
config-expect = $${slapos-autorun:autorun} config-expect = $${slapos-autorun:autorun}
config-run-directory = $${directory:runner}/var/run config-run-directory = $${directory:runner}/var/run
[monitor-instance-parameter]
# change the value of "display-prediction" to 1 to use ARIMA in the check_free_disk_space promise
display-prediction-check-free-disk-space = {{ parameter_dict.get('display-prediction', 0) }}
# by default the prediction will be for the next 10 days, this parameter can be changed below
days-check-free-disk-space =
# allow to use the monitor_partition_space promise if display-anomaly is True
{%- if parameter_dict.get('display-anomaly') in ('True', 'on', '1') %}
[monitor-base]
extra-depends = $${promise-monitor-partition-space:name}
{%- endif %}
# Remote Caddy Frontend # Remote Caddy Frontend
# --------------------- # ---------------------
......
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