--- a/{{cookiecutter.project_slug}}/buildout.cfg Thu Jun 21 14:26:17 2018 +0200
+++ b/{{cookiecutter.project_slug}}/buildout.cfg Mon Sep 24 10:54:46 2018 +0200
@@ -39,19 +39,22 @@
{%- endif %}
fanstatic
nose
-{%- if cookiecutter.use_postgresql in ('true','on','yes','1') %}
+{%- if cookiecutter.use_postgresql.lower() in ('true','on','yes','1') %}
psycopg2
{%- endif %}
pyams_alchemy
+{%- if cookiecutter.use_elasticsearch_apm.lower() in ('true','on','yes','1') %}
+ pyams_apm
+{%- endif %}
pyams_catalog
pyams_content
-{%- if cookiecutter.use_elasticsearch in ('true','on','yes','1') %}
+{%- if cookiecutter.use_elasticsearch.lower() in ('true','on','yes','1') %}
pyams_content_es
{%- endif %}
pyams_file
pyams_form
pyams_i18n
-{%- if cookiecutter.use_ldap in ('true','on','yes','1') %}
+{%- if cookiecutter.use_ldap.lower() in ('true','on','yes','1') %}
pyams_ldap
{%- endif %}
pyams_mail
@@ -78,7 +81,7 @@
pyramid_beaker
pyramid_chameleon
pyramid_debugtoolbar
-{%- if cookiecutter.use_elasticsearch in ('true','on','yes','1') %}
+{%- if cookiecutter.use_elasticsearch.lower() in ('true','on','yes','1') %}
pyramid_es
{%- endif %}
pyramid_fanstatic