uwsgi
Set up and configure the uwsgi server framework. This module is based on the excellent work done in the nginx-formula by the contributors.
Note
See the full Salt Formulas installation and usage instructions.
Available states
uwsgi
Metastate to Install uwsgi from the system package manager. Note, the uwsgi version available varies by platform.
Note: uwsgi requires the merge parameter of salt.modules.pillar.get(), first available in the Helium release.
Example usage:
include: - uwsgi
uwsgi.install
Installs the uwsgi package
uwsgi.service
Manages the uwsgi service on Debian systems
Note
Archlinux uwsgi service isn't working because of the systemd changes.
Archlinux uses uwsgi@<application>.service Pull Requests on this are greatly appreciated.
uwsgi.applications
Manages the uwsgi applications files and binds them to the service calls
uwsgi.application_config
Manages the application files for the uwsgi server. This state only manages the content of the files and does not bind them to the service calls.
uwsgi.pip
Install uwsgi via pip.
uwsgi.plugins
Install uwsgi plugins via default package management system. plugins can be specified via pillar lookup function.
uwsgi.emperor
Meta state to install and confgure uwsgi emperor via default package management system.
Example usage:
include: - uwsgi.emperor
uwsgi.emperor.config
Manages the uwsgi emperor config file, all variables can be set by pillar.
uwsgi.emperor.install
Manages the installation of uwsgi package.
uwsgi.emperor.service
Manages the startup and running state of the uwsgi emperor service.
uwsgi.emperor.vassal_config
Manages the vassal files for the uwsgi emperor process. This state only manages the content of the files and does not bind them to the service calls.
uwsgi.emperor.vassals
Manages the uwsgi emperor vassals ini files and binds them to the service calls.