Add no_proxy option to minion.conf
The minion conf doesn't have no_proxy setting Some salt
resources are not honoring system no proxy settings.
The salt requires its own no_proxy setting
Closes-Bug: PROD-36057
Change-Id: Ia9988cb2b0c6d76d32be3fc0b6692313ba8a734f
diff --git a/salt/files/minion.conf b/salt/files/minion.conf
index a9c19c6..e228cae 100644
--- a/salt/files/minion.conf
+++ b/salt/files/minion.conf
@@ -104,7 +104,9 @@
proxy_host: {{ minion.proxy.host }}
proxy_port: {{ minion.proxy.port }}
{%- endif %}
-
+{%- if minion.get('proxy', {}).get('no_proxy', "") != "" %}
+no_proxy: ['{{ minion.proxy.no_proxy|join("', '") }}']
+{%- endif %}
{%- if minion.backend is defined %}
backend: {{ minion.backend }}
{%- endif %}