Merge branch '21905-no-rvm'
[arvados-formula.git] / arvados / workbench / service / running.sls
1 # -*- coding: utf-8 -*-
2 # vim: ft=sls
3
4 {#- Get the `tplroot` from `tpldir` #}
5 {%- set tplroot = tpldir.split('/')[0] %}
6 {%- set sls_config_file = tplroot ~ '.config.file' %}
7 {%- from tplroot ~ "/map.jinja" import arvados with context %}
8
9 include:
10   - ..package
11   - {{ sls_config_file }}
12
13 arvados-workbench-service-running-service-running:
14   service.running:
15     - name: {{ arvados.workbench.service.name }}
16     - enable: True
17     - watch:
18       - sls: {{ sls_config_file }}
19     - require:
20       - pkg: arvados-workbench-package-install-pkg-installed