https://github.com/saltstack-formulas/uwsgi-formula
Salt formula to manage uwsgi
https://github.com/saltstack-formulas/uwsgi-formula
saltstack uwsgi
Last synced: 10 months ago
JSON representation
Salt formula to manage uwsgi
- Host: GitHub
- URL: https://github.com/saltstack-formulas/uwsgi-formula
- Owner: saltstack-formulas
- License: apache-2.0
- Created: 2015-03-11T01:20:30.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T19:55:30.000Z (over 6 years ago)
- Last Synced: 2025-04-07T00:41:35.828Z (10 months ago)
- Topics: saltstack, uwsgi
- Language: SaltStack
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 38.1 KB
- Stars: 9
- Watchers: 37
- Forks: 37
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======
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
================
.. contents::
:local:
``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@.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.