Browse Source

fix minion proxy, if devices not defined

pull/41/head
Petr Michalec 7 years ago
parent
commit
e0d1980267
No account linked to committer's email address
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