If sub-classed, run any shutdown operations on this method.
(self, exitcode=0, exitmsg=None)
| 225 | self.master.start() |
| 226 | |
| 227 | def shutdown(self, exitcode=0, exitmsg=None): |
| 228 | """ |
| 229 | If sub-classed, run any shutdown operations on this method. |
| 230 | """ |
| 231 | self.shutdown_log_info() |
| 232 | msg = "The salt master is shutdown. " |
| 233 | if exitmsg is not None: |
| 234 | exitmsg = msg + exitmsg |
| 235 | else: |
| 236 | exitmsg = msg.strip() |
| 237 | super().shutdown(exitcode, exitmsg) |
| 238 | |
| 239 | |
| 240 | class Minion( |
no test coverage detected