--- a/{{cookiecutter.project_slug}}/buildout.cfg Sun Jan 14 12:29:44 2018 +0100
+++ b/{{cookiecutter.project_slug}}/buildout.cfg Mon Jan 15 16:27:44 2018 +0100
@@ -34,24 +34,24 @@
{%- if cookiecutter.beaker_backend == 'redis' %}
beakeredis
{%- endif %}
-{%- if cookiecutter.use_oracle %}
+{%- if cookiecutter.use_oracle.lower() in ('true','on','yes','1') %}
cx_Oracle
{%- endif %}
fanstatic
nose
-{%- if cookiecutter.use_postgresql %}
+{%- if cookiecutter.use_postgresql in ('true','on','yes','1') %}
psycopg2
{%- endif %}
pyams_alchemy
pyams_catalog
pyams_content
-{%- if cookiecutter.use_elasticsearch %}
+{%- if cookiecutter.use_elasticsearch in ('true','on','yes','1') %}
pyams_content_es
{%- endif %}
pyams_file
pyams_form
pyams_i18n
-{%- if cookiecutter.use_ldap %}
+{%- if cookiecutter.use_ldap in ('true','on','yes','1') %}
pyams_ldap
{%- endif %}
pyams_mail
@@ -78,7 +78,7 @@
pyramid_beaker
pyramid_chameleon
pyramid_debugtoolbar
-{%- if cookiecutter.use_elasticsearch %}
+{%- if cookiecutter.use_elasticsearch in ('true','on','yes','1') %}
pyramid_es
{%- endif %}
pyramid_fanstatic