feat: initial commit
[arvados-formula.git] / TEMPLATE / 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 TEMPLATE with context %}
8
9 include:
10   - {{ sls_config_file }}
11
12 TEMPLATE-service-running-service-running:
13   service.running:
14     - name: {{ TEMPLATE.service.name }}
15     - enable: True
16     - watch:
17       - sls: {{ sls_config_file }}