-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(coupling): allow docker install without compose (#298)
* fix(compose): avoid rendering errors if not using compose * fix(init): only install what is 'wanted'
- Loading branch information
1 parent
299a1d0
commit aaedb00
Showing
3 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import data as d with context %} | ||
{%- if d.wanted is iterable %} | ||
include: | ||
- .software | ||
- .compose | ||
{{ '- .software' if 'docker' in d.wanted else '' }} | ||
{{ '- .compose' if 'compose' in d.wanted else '' }} | ||
# .networks | ||
# .containers | ||
{%- endif %} |