# This configuration file is used to manage the behavior of all Salt Proxy | # This configuration file is used to manage the behavior of all Salt Proxy | ||||
# Minions on this host. | # Minions on this host. | ||||
master: {{ proxy.master|default('localhost') }} | |||||
master: {{ proxy_minion.master|default('localhost') }} | |||||
multiprocessing: False | multiprocessing: False | ||||
mine_enabled: True | mine_enabled: True |
- salt.minion.ca | - salt.minion.ca | ||||
{%- endif %} | {%- endif %} | ||||
- salt.minion.cert | - salt.minion.cert | ||||
{%- if pillar.salt.minion.proxy is defined %} | |||||
{%- if pillar.salt.minion.proxy_minion is defined %} | |||||
- salt.minion.proxy | - salt.minion.proxy | ||||
{%- endif %} | {%- endif %} |
- template: jinja | - template: jinja | ||||
- defaults: | - defaults: | ||||
napalm: {{ napalm }} | napalm: {{ napalm }} | ||||
proxy: {{ proxy|yaml }} | |||||
proxy_minion: {{ proxy_minion|yaml }} | |||||
{%- if napalm %} | {%- if napalm %} | ||||
network_proxy_packages: | network_proxy_packages: | ||||
pkg.installed: | pkg.installed: | ||||
- names: {{ proxy.napalm_pkgs }} | |||||
- names: {{ proxy_minion.napalm_pkgs }} | |||||
napalm: | napalm: | ||||
pip.installed: | pip.installed: | ||||
- name: {{ proxy.napalm_pip_pkgs}} | |||||
- name: {{ proxy_minion.napalm_pip_pkgs}} | |||||
- require: | - require: | ||||
- pkg: python-pip | - pkg: python-pip | ||||