Browse Source

Merge pull request #41 from salt-formulas/pr/fix_minion_proxy_device

fix minion proxy, if devices not defined
pull/44/head
Aleš Komárek 7 years ago
parent
commit
4ec591cf9b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      salt/minion/proxy.sls

+ 2
- 2
salt/minion/proxy.sls View File



{%- set napalm = false %} {%- set napalm = false %}


{%- for proxy_name, proxy_device in proxy.device.iteritems() %}
{%- for proxy_name, proxy_device in proxy.get('device', {}).iteritems() %}


{%- if proxy_device.engine == 'napalm' %} {%- if proxy_device.engine == 'napalm' %}




{%- endif %} {%- endif %}


{%- for proxy_name, proxy_device in proxy.device.iteritems() %}
{%- for proxy_name, proxy_device in proxy.get('device', {}).iteritems() %}


salt_proxy_{{ proxy_name }}_service: salt_proxy_{{ proxy_name }}_service:
service.running: service.running:

Loading…
Cancel
Save