Make formula relative to actual directory by using 'tpldir'

This commit is contained in:
Marius Kotsbak
2018-05-02 15:54:53 +02:00
parent 3d8d8486ed
commit dd526f1de2
10 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
{% from "postgres/map.jinja" import postgres with context %}
{%- from salt.file.dirname(tpldir) ~ "/map.jinja" import postgres with context -%}
include:
{% if postgres.use_upstream_repo == 'postgresapp' %}