Create a salt master server instance :param dict: The salt options
(self, opts)
| 845 | """ |
| 846 | |
| 847 | def __init__(self, opts): |
| 848 | """ |
| 849 | Create a salt master server instance |
| 850 | |
| 851 | :param dict: The salt options |
| 852 | """ |
| 853 | if zmq and ZMQ_VERSION_INFO < (3, 2): |
| 854 | log.warning( |
| 855 | "You have a version of ZMQ less than ZMQ 3.2! There are " |
| 856 | "known connection keep-alive issues with ZMQ < 3.2 which " |
| 857 | "may result in loss of contact with minions. Please " |
| 858 | "upgrade your ZMQ!" |
| 859 | ) |
| 860 | SMaster.__init__(self, opts) |
| 861 | |
| 862 | def __set_max_open_files(self): |
| 863 | if not HAS_RESOURCE: |