salt.states.proxy#
Allows you to manage proxy settings on minions#
Setup proxy settings on minions
192.168.1.4:
proxy.managed:
- port: 3128
- bypass_domains:
- localhost
- 127.0.0.1
- salt.states.proxy.managed(name, port, services=None, user=None, password=None, bypass_domains=None, network_service='Ethernet')#
Manages proxy settings for this mininon
- name
The proxy server to use
- port
The port used by the proxy server
- services
A list of the services that should use the given proxy settings, valid services include http, https and ftp. If no service is given all of the valid services will be used.
- user
The username to use for the proxy server if required
- password
The password to use for the proxy server if required
- bypass_domains
An array of the domains that should bypass the proxy
- network_service
The network service to apply the changes to, this only necessary on macOS