MCPcopy Index your code
hub / github.com/saltstack/salt / salt_master

Function salt_master

salt/scripts.py:118–133  ·  view source on GitHub ↗

Start the salt master.

()

Source from the content-addressed store, hash-verified

116
117
118def salt_master():
119 """
120 Start the salt master.
121 """
122 _pin_multiprocessing_fork()
123
124 import salt.cli.daemons
125
126 # Fix for setuptools generated scripts, so that it will
127 # work with multiprocessing fork emulation.
128 # (see multiprocessing.forking.get_preparation_data())
129 if __name__ != "__main__":
130 sys.modules["__main__"] = sys.modules[__name__]
131
132 master = salt.cli.daemons.Master()
133 master.start()
134
135
136def minion_process():

Callers

nothing calls this directly

Calls 2

startMethod · 0.95

Tested by

no test coverage detected