Explorar el Código

Try to fix on older salt version

tags/0.4
Filip Pytloun hace 8 años
padre
commit
77b2a09871
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      salt/map.jinja

+ 6
- 1
salt/map.jinja Ver fichero

@@ -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 %}

Cargando…
Cancelar
Guardar