Salt proxy state
New in version 2015.8.2.
State to deploy and run salt-proxy processes on a minion.
Set up pillar data for your proxies per the documentation.
Run the state as below
..code-block:: yaml
- salt-proxy-configure:
- salt_proxy.configure_proxy:
proxyname: p8000
start: True
This state will configure the salt proxy settings within /etc/salt/proxy (if /etc/salt/proxy doesn't exists) and start the salt-proxy process (default true), if it isn't already running.
salt.states.salt_proxy.
configure_proxy
(name, proxyname='p8000', start=True)¶Create the salt proxy file and start the proxy process if required
name -- The name of this state
proxyname -- Name to be used for this proxy (should match entries in pillar)
start -- Boolean indicating if the process should be started
Example:
..code-block:: yaml
- salt-proxy-configure:
- salt_proxy.configure_proxy:
proxyname: p8000
start: True
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy