Add template for generic wsgi app
We have a tonn of templates in each openstack formula that describes
api wsgi app. This patch adds template to apache that allows
to create custom wsgi apps from pillar. See readme for details.
In future we swich openstack api services to use this template.
Also add `available` key to site definition. This flag is used
in conjunction with `enabled` to add config to sites-available,
but actual enablement will be done when applying specific openstack
formula.
Change-Id: I008e00958f4ddb36735b6399cbc5d2957b893889
diff --git a/README.rst b/README.rst
index 6bd29ce..b4b7220 100644
--- a/README.rst
+++ b/README.rst
@@ -146,6 +146,32 @@
file: /var/log/apache2/foo.error.log
level: notice
+Apache wsgi application.
+
+.. code-block:: yaml
+
+ apache:
+ server:
+ enabled: true
+ default_mpm: event
+ site:
+ manila:
+ enabled: false
+ available: true
+ type: wsgi
+ name: manila
+ wsgi:
+ daemon_process: manila-api
+ threads: 2
+ user: manila
+ group: manila
+ display_name: '%{GROUP}'
+ script_alias: '/ /usr/bin/manila-wsgi'
+ application_group: '%{GLOBAL}'
+ authorization: 'On'
+ limits:
+ request_body: 114688
+
Roundcube webmail, postfixadmin and mailman
.. code-block:: yaml