Salt proxy module
2015.8.3 新版功能.
Module to deploy and manage salt-proxy processes on a minion.
salt.modules.salt_proxy.
configure_proxy
(proxyname, start=True)¶Create the salt proxy file and start the proxy process if required
CLI Example:
salt deviceminion salt_proxy.configure_proxy p8000
salt.modules.salt_proxy.
is_running
(proxyname)¶Check if the salt-proxy process associated with this proxy (name) is running.
Returns True if the process is running False otherwise
CLI Example:
salt deviceminion salt_proxy.is_running p8000