Add docstring to ipc_publish_server

This commit is contained in:
Daniel A. Wozniak 2024-08-13 17:53:39 -07:00 committed by Daniel Wozniak
parent 0466043ec6
commit 9ec04e006e

View file

@ -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":