Skip to content

Commit 86a179f

Browse files
author
Marius Kotsbak
committed
Make formula relative to actual directory by using 'tpldir'
1 parent 654fedf commit 86a179f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

haproxy/config.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% from "haproxy/map.jinja" import haproxy with context %}
1+
{% from tpldir ~ "/map.jinja" import haproxy with context %}
22
33
{% set config_file = salt['pillar.get']('haproxy:config_file_path', haproxy.config_file) %}
44
haproxy.config:

haproxy/install.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% from "haproxy/map.jinja" import haproxy with context %}
1+
{% from tpldir ~ "/map.jinja" import haproxy with context %}
22
33
haproxy.install:
44
pkg.installed:

haproxy/service.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% from "haproxy/map.jinja" import haproxy with context %}
1+
{% from tpldir ~ "/map.jinja" import haproxy with context %}
22
33
haproxy.service:
44
{% if salt['pillar.get']('haproxy:enable', True) %}

0 commit comments

Comments
 (0)