feat: initial commit
[arvados-formula.git] / TEMPLATE / subcomponent / config / clean.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_service_clean = tplroot ~ '.service.clean' %}
7 {%- from tplroot ~ "/map.jinja" import TEMPLATE with context %}
8
9 include:
10   - {{ sls_service_clean }}
11
12 TEMPLATE-subcomponent-config-clean-file-absent:
13   file.absent:
14     - name: {{ TEMPLATE.subcomponent.config }}
15     - watch_in:
16         - sls: {{ sls_service_clean }}