fix standard.tmpl
with salt-ssh-2016.11.3 it errored out with TemplateNotFound: apache/map.jinja and we were already passing in the 'apache' data as 'map' from standard.sls
This commit is contained in:
parent
3f3e734cd7
commit
f25d7707cf
@ -1,5 +1,4 @@
|
|||||||
{# Define default values here so the template below can just focus on layout #}
|
{# Define default values here so the template below can just focus on layout #}
|
||||||
{%- from "apache/map.jinja" import apache with context -%}
|
|
||||||
{%- set sitename = site.get('ServerName', id) -%}
|
{%- set sitename = site.get('ServerName', id) -%}
|
||||||
|
|
||||||
{%- set vals = {
|
{%- set vals = {
|
||||||
@ -90,7 +89,7 @@
|
|||||||
|
|
||||||
<Directory "{{ path }}">
|
<Directory "{{ path }}">
|
||||||
{% if dvals.get('Options') != False %}Options {{ dvals.Options }}{% endif %}
|
{% if dvals.get('Options') != False %}Options {{ dvals.Options }}{% endif %}
|
||||||
{% if apache.use_require %}
|
{% if map.use_require %}
|
||||||
{% if dvals.get('Require') != False %}Require {{dvals.Require}}{% endif %}
|
{% if dvals.get('Require') != False %}Require {{dvals.Require}}{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if dvals.get('Order') != False %}Order {{ dvals.Order }}{% endif %}
|
{% if dvals.get('Order') != False %}Order {{ dvals.Order }}{% endif %}
|
||||||
@ -114,7 +113,7 @@
|
|||||||
} %}
|
} %}
|
||||||
|
|
||||||
<Location "{{ path }}">
|
<Location "{{ path }}">
|
||||||
{% if apache.use_require %}
|
{% if map.use_require %}
|
||||||
{%- if lvals.get('Require') != False %}Require {{lvals.Require}}{% endif %}
|
{%- if lvals.get('Require') != False %}Require {{lvals.Require}}{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{%- if lvals.get('Order') != False %}Order {{ lvals.Order }}{% endif %}
|
{%- if lvals.get('Order') != False %}Order {{ lvals.Order }}{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user