Browse Source

Try to fix on older salt version

tags/0.4
Filip Pytloun 8 years ago
parent
commit
77b2a09871
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      salt/map.jinja

+ 6
- 1
salt/map.jinja View File

@@ -41,8 +41,10 @@ RedHat:
- salt-master
{%- endload %}

{%- if pillar.salt.master is defined %}
{%- set raw_master = salt['grains.filter_by'](master_specific, merge=salt['pillar.get']('salt:master')) %}
{%- set master = salt['grains.filter_by'](master_common, merge=raw_master) %}
{%- endif %}


{%- load_yaml as minion_common %}
@@ -85,8 +87,10 @@ RedHat:
- salt-minion
{%- endload %}

{%- if pillar.salt.minion is defined %}
{%- set raw_minion = salt['grains.filter_by'](minion_specific, merge=salt['pillar.get']('salt:minion')) %}
{%- set minion = salt['grains.filter_by'](minion_common, merge=raw_minion) %}
{%- endif %}


{%- load_yaml as api_common %}
@@ -125,6 +129,7 @@ RedHat:
- pkg-config
{%- endload %}

{%- if pillar.salt.control is defined %}
{%- set raw_control = salt['grains.filter_by'](control_specific, merge=salt['pillar.get']('salt:control')) %}
{%- set control = salt['grains.filter_by'](control_common, merge=raw_control) %}
{%- endif %}

Loading…
Cancel
Save