diff --git a/template/init.sls b/template/init.sls index 18a05595..6d1b0ba4 100644 --- a/template/init.sls +++ b/template/init.sls @@ -2,4 +2,4 @@ # vim: ft=sls include: - - template.pkg + - .pkg diff --git a/template/pkg/config.sls b/template/pkg/config.sls index b921ba18..e9a4a290 100644 --- a/template/pkg/config.sls +++ b/template/pkg/config.sls @@ -7,7 +7,7 @@ {%- from topdir ~ "/macros.jinja" import files_switch with context %} include: - - .install + - {{ topdir }}.pkg.install template-config: file.managed: @@ -23,4 +23,4 @@ template-config: - group: root - template: jinja - require: - - sls: {{ tpldot }}.install + - sls: {{ topdir }}.pkg.install diff --git a/template/pkg/service.sls b/template/pkg/service.sls index b2c4dbc5..ea48fead 100644 --- a/template/pkg/service.sls +++ b/template/pkg/service.sls @@ -6,11 +6,11 @@ {%- from topdir ~ "/map.jinja" import template with context %} include: - - .config + - {{ topdir }}.pkg.config template-service: service.running: - name: {{ template.service.name }} - enable: True - require: - - sls: {{ tpldot }}.config + - sls: {{ topdir }}.pkg.config