-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from noelmcloughlin/dups
refactor(init): remove duplicated jinja
- Loading branch information
Showing
1 changed file
with
1 addition
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=sls | ||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import docker with context %} | ||
{#- Get the `tplroot` from `tpldir` #} | ||
{%- set tplroot = tpldir.split('/')[0] %} | ||
{%- from tplroot ~ "/map.jinja" import docker with context %} | ||
{%- set sls_package_install = tplroot ~ '.install' %} | ||
{%- set sls_macapp_install = tplroot ~ '.macosapp' %} | ||
include: | ||
- {{ sls_package_install if not docker.pkg.use_upstream_app else sls_macapp_install }} | ||
- {{ sls_package_install if not docker.pkg.use_upstream_app else sls_macapp_install }} |