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.
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
Installs the uwsgi package
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.
Manages the uwsgi applications files and binds them to the service calls
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.
Install uwsgi via pip.
Install uwsgi plugins via default package management system. plugins can be specified via pillar lookup function.
Meta state to install and confgure uwsgi emperor via default package management system.
Example usage:
include: - uwsgi.emperor
Manages the uwsgi emperor config file, all variables can be set by pillar.
Manages the installation of uwsgi package.
Manages the startup and running state of the uwsgi emperor service.
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.
Manages the uwsgi emperor vassals ini files and binds them to the service calls.