mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add docstring to ipc_publish_server
This commit is contained in:
parent
0466043ec6
commit
9ec04e006e
1 changed files with 8 additions and 0 deletions
|
@ -211,6 +211,14 @@ def ipc_publish_client(node, opts, io_loop):
|
|||
|
||||
|
||||
def ipc_publish_server(node, opts):
|
||||
"""
|
||||
Create an IPC publish server.
|
||||
|
||||
With the exception of a master's pull_path, all ipc path permission have
|
||||
user read/write permissions. On a master the ipc publish server's pull_path
|
||||
permissions are also group read/write. This is done to facilitate non root
|
||||
users running the salt cli to execute jobs on a master.
|
||||
"""
|
||||
# Default to TCP for now
|
||||
kwargs = {"transport": "tcp", "ssl": None}
|
||||
if opts["ipc_mode"] == "tcp":
|
||||
|
|
Loading…
Add table
Reference in a new issue