File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 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 % }
23
34include:
45 - nginx.service
Original file line number Diff line number Diff line change 22#
33# Meta-state to fully install nginx.
44
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 % }
67
78include:
89 {%- if nginx.ng is defined % }
Original file line number Diff line number Diff line change 22#
33# Manages installation of nginx from pkg.
44
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 % }
67{%- if nginx.install_from_repo % }
78 {% set from_official = true % }
89 {% set from_ppa = false % }
Original file line number Diff line number Diff line change 22#
33# Manages installation of nginx from source.
44
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 % }
67
78nginx_deps:
89 pkg.installed:
You can’t perform that action at this time.
0 commit comments