File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- {% from ' nginx/map.jinja' import nginx with context % }
1
+ {%- set tplroot = tpldir.split(' /' )[0 ] %}
2
+ {%- from tplroot ~ ' /map.jinja' import nginx with context % }
2
3
3
4
include:
4
5
- nginx.service
Original file line number Diff line number Diff line change 2
2
#
3
3
# Meta-state to fully install nginx.
4
4
5
- {%- from ' nginx/map.jinja' import nginx, sls_block with context % }
5
+ {%- set tplroot = tpldir.split(' /' )[0 ] %}
6
+ {%- from tplroot ~ ' /map.jinja' import nginx with context % }
6
7
7
8
include:
8
9
{%- if nginx.ng is defined % }
Original file line number Diff line number Diff line change 2
2
#
3
3
# Manages installation of nginx from pkg.
4
4
5
- {% from ' nginx/map.jinja' import nginx, sls_block with context % }
5
+ {%- set tplroot = tpldir.split(' /' )[0 ] %}
6
+ {%- from tplroot ~ ' /map.jinja' import nginx, sls_block with context % }
6
7
{%- if nginx.install_from_repo % }
7
8
{% set from_official = true % }
8
9
{% set from_ppa = false % }
Original file line number Diff line number Diff line change 2
2
#
3
3
# Manages installation of nginx from source.
4
4
5
- {% from ' nginx/map.jinja' import nginx, sls_block with context % }
5
+ {%- set tplroot = tpldir.split(' /' )[0 ] %}
6
+ {%- from tplroot ~ ' /map.jinja' import nginx, sls_block with context % }
6
7
7
8
nginx_deps:
8
9
pkg.installed:
You can’t perform that action at this time.
0 commit comments