mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
fix(subcomponent): clean referencing wrong sls
This commit is contained in:
parent
c2321ddb32
commit
394808ebda
1 changed files with 3 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue