[cubicweb/instances] if pyramid in pillar, include pyramid sls
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 29 Nov 2016 15:27:01 +0100
changeset 93 c864a52ea401
parent 92 2598a63800b3
child 94 17fea6c77efe
[cubicweb/instances] if pyramid in pillar, include pyramid sls
cubicweb/instances.sls
--- a/cubicweb/instances.sls	Tue Nov 29 15:24:17 2016 +0100
+++ b/cubicweb/instances.sls	Tue Nov 29 15:27:01 2016 +0100
@@ -2,9 +2,11 @@
   - cubicweb
 {% for vhostname, vhost in pillar['cubicweb_apps'].iteritems() %}
  {% for name, config in vhost.iteritems() %}
+   {% if 'pyramid' in config %}
+  - cubicweb.pyramid
+   {% endif %}
    {% if 'cwapp_uwsgi_options' in config %}
   - cubicweb.uwsgi
-   {% break %}
    {% endif %}
  {% endfor %}
 {% endfor %}