fix RADIUS support pillar

master
Marek Isalski 4 years ago
parent bad9fa19b9
commit ee9973ee76

@ -1515,7 +1515,7 @@ system {
} }
{% endfor %} {% endfor %}
{% if 'source-address' in salt['pillar.get']('radius',{}) %} {% if 'source-address' in salt['pillar.get']('radius',{}) %}
radius-source-address {{ pillar['radius:source-address'] }} radius-source-address {{ salt['pillar.get']('radius:source-address') }}
{% endif %} {% endif %}
{% else %} {% else %}
radius { radius {
@ -1524,7 +1524,7 @@ system {
key {{ server_data.get('key',server_data.get('secret','')) }} key {{ server_data.get('key',server_data.get('secret','')) }}
} }
{% endfor %} {% endfor %}
source-address {{ pillar['radius:source-address'] }} source-address {{ salt['pillar.get']('radius:source-address') }}
} }
{% endif %} {% endif %}
{% endif %} {% endif %}

Loading…
Cancel
Save