Skip to content

Commit

Permalink
fix(subcomponent): clean referencing wrong sls
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Sep 13, 2019
1 parent c2321dd commit 394808e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/subcomponent/config/clean.sls
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

{#- Get the `tplroot` from `tpldir` #}
{%- set tplroot = tpldir.split('/')[0] %}
{%- set sls_service_running = tplroot ~ '.service.running' %}
{%- set sls_service_clean = tplroot ~ '.service.clean' %}
{%- from tplroot ~ "/map.jinja" import template with context %}
include:
- {{ sls_service_running }}
- {{ sls_service_clean }}
template-subcomponent-config-clean-file-absent:
file.absent:
- name: {{ template.subcomponent.config }}
- watch_in:
- sls: {{ sls_service_running }}
- sls: {{ sls_service_clean }}

0 comments on commit 394808e

Please sign in to comment.