17750: Centos 7 needs rvm for api and workbench
[arvados-formula.git] / arvados / keepstore / 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-keepstore-service-running-service-running:
14   service.running:
15     - name: {{ arvados.keepstore.service.name }}
16     - enable: True
17     - watch:
18       - sls: {{ sls_config_file }}
19     - require:
20       - pkg: arvados-keepstore-package-install-pkg-installed