From 00353cf247ea5fa771b28f7383112976cd05f511 Mon Sep 17 00:00:00 2001 From: N Date: Mon, 22 Jul 2019 23:34:21 +0100 Subject: [PATCH] refactor(init): remove duplicated jinja --- docker/init.sls | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker/init.sls b/docker/init.sls index 50e782d8..e32220e2 100644 --- a/docker/init.sls +++ b/docker/init.sls @@ -1,9 +1,5 @@ # -*- 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 %} @@ -11,4 +7,4 @@ {%- set sls_macapp_install = tplroot ~ '.macosapp' %} include: - - {{ sls_package_install if not docker.pkg.use_upstream_app else sls_macapp_install }} \ No newline at end of file + - {{ sls_package_install if not docker.pkg.use_upstream_app else sls_macapp_install }}