Start the salt master.
()
| 116 | |
| 117 | |
| 118 | def 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 | |
| 136 | def minion_process(): |
nothing calls this directly
no test coverage detected