Skip to content

Commit

Permalink
feat(pkg): use require requisite between pkg states
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 28, 2019
1 parent c21f82b commit 6e7141b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions template/pkg/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ template-config:
- user: root
- group: root
- template: jinja
- require:
- sls: {{ tpldot }}.install
4 changes: 3 additions & 1 deletion template/pkg/service.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
include:
- .config
template-name:
template-service:
service.running:
- name: {{ template.service.name }}
- enable: True
- require:
- sls: {{ tpldot }}.config

0 comments on commit 6e7141b

Please sign in to comment.