Browse Source

Fixed incorrect placement of if block

tags/0.4
Adam Tengler 8 years ago
parent
commit
c4993698ee
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      salt/map.jinja

+ 2
- 2
salt/map.jinja View File

{%- elif pillar.salt.master.source.engine == 'pip' %} {%- elif pillar.salt.master.source.engine == 'pip' %}
install_state: "pip: salt_master_packages" install_state: "pip: salt_master_packages"
{%- endif %} {%- endif %}
{%- endif %}
{%- if pillar.salt.master.source.version is defined %} {%- if pillar.salt.master.source.version is defined %}
version: {{ pillar.salt.master.source.version }} version: {{ pillar.salt.master.source.version }}
{%- endif %} {%- endif %}
{%- endif %}
accept_policy: preseed accept_policy: preseed
bind: {} bind: {}
formula: {} formula: {}
{%- elif pillar.salt.minion.source.engine == 'pip' %} {%- elif pillar.salt.minion.source.engine == 'pip' %}
install_state: "pip: salt_minion_packages" install_state: "pip: salt_minion_packages"
{%- endif %} {%- endif %}
{%- endif %}
{%- if pillar.salt.minion.source.version is defined %} {%- if pillar.salt.minion.source.version is defined %}
version: {{ pillar.salt.minion.source.version }} version: {{ pillar.salt.minion.source.version }}
{%- endif %} {%- endif %}
{%- endif %}
{%- endload %} {%- endload %}


{%- load_yaml as minion_specific %} {%- load_yaml as minion_specific %}

Loading…
Cancel
Save