Update ruby version used with RVM on Centos 7
[arvados-formula.git] / arvados / keepproxy / 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-keepproxy-service-running-service-running:
14   service.running:
15     - name: {{ arvados.keepproxy.service.name }}
16     - enable: True
17     - watch:
18       - sls: {{ sls_config_file }}
19     - require:
20       - pkg: arvados-keepproxy-package-install-pkg-installed