Skip to content
Snippets Groups Projects
Unverified Commit e4e6b28b authored by N's avatar N Committed by GitHub
Browse files

Merge pull request #73 from mkotsbak/fix_relative_references

Make formula relative to actual directory by using 'tpldir'
parents 654fedfe 86a179f6
No related branches found
No related tags found
No related merge requests found
{% from "haproxy/map.jinja" import haproxy with context %} {% from tpldir ~ "/map.jinja" import haproxy with context %}
{% set config_file = salt['pillar.get']('haproxy:config_file_path', haproxy.config_file) %} {% set config_file = salt['pillar.get']('haproxy:config_file_path', haproxy.config_file) %}
haproxy.config: haproxy.config:
......
{% from "haproxy/map.jinja" import haproxy with context %} {% from tpldir ~ "/map.jinja" import haproxy with context %}
haproxy.install: haproxy.install:
pkg.installed: pkg.installed:
......
{% from "haproxy/map.jinja" import haproxy with context %} {% from tpldir ~ "/map.jinja" import haproxy with context %}
haproxy.service: haproxy.service:
{% if salt['pillar.get']('haproxy:enable', True) %} {% if salt['pillar.get']('haproxy:enable', True) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment