Fix small variable-name inconsistencies for resutlsdb

Gets rid of quite some of the conditionals and minimizes the
amount of different variable names used in result/execdb
This commit is contained in:
Josef Skladanka 2016-02-03 13:06:28 +00:00 committed by Josef Skladanka
parent a38d133e38
commit 5fc16ef6a0
10 changed files with 63 additions and 97 deletions

View file

@ -1,18 +1,7 @@
# while you can use this as a template, we recommend that you use the blockerbugs
# cli to generate a config file
RDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0'
{% if deployment_type == 'dev' %}
SECRET_KEY = '{{ dev_resultsdb_frontend_secret_key }}'
{% endif %}
{% if deployment_type == 'stg' %}
SECRET_KEY = '{{ stg_resultsdb_frontend_secret_key }}'
{% endif %}
{% if deployment_type == 'prod' %}
SECRET_KEY = '{{ prod_resultsdb_frontend_secret_key }}'
{% endif %}
{% if deployment_type == 'local' %}
SECRET_KEY = '{{ local_resultsdb_frontend_secret_key }}'
{% endif %}
SECRET_KEY = '{{ resultsdb_frontend_secret_key }}'
FILE_LOGGING = False
LOGFILR = '/var/log/resultsdb_frontend/resultsdb_frontend.log'