saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.19k stars 5.48k forks source link

How to use salt-api with Tornado? #50908

Closed andyyumiao closed 4 years ago

andyyumiao commented 5 years ago

Description of Issue/Question

How to use salt-api with Tornado? instead of CherryPy?

dwoz commented 5 years ago

@andyyumiao There are two options for running salt-api:

1) configure a webserver to use wsgi 2) run salt-api and use cherrypy as the server

Unfortunately, salt-api doesn't support running with tornado.

dwoz commented 5 years ago

@andyyumiao My last comment is incorrect. The documentation for running salt-api with tornado can be found here:

https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_tornado.html

andyyumiao commented 5 years ago

@andyyumiao My last comment is incorrect. The documentation for running salt-api with tornado can be found here:

https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_tornado.html

@dwoz many thanks!

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.