From 381bd1b389d62d18ff18d40c3c4fce86d8487e2f Mon Sep 17 00:00:00 2001 From: mprahl Date: Fri, 3 Nov 2017 15:10:55 +0000 Subject: [PATCH] Allow overriding rebuild_strategy in MBS in prod --- roles/mbs/common/templates/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/mbs/common/templates/config.py b/roles/mbs/common/templates/config.py index bb3f1e196c..be4ee9d924 100644 --- a/roles/mbs/common/templates/config.py +++ b/roles/mbs/common/templates/config.py @@ -96,10 +96,11 @@ class ProdConfiguration(BaseConfiguration): 'releng', ] + REBUILD_STRATEGY_ALLOW_OVERRIDE = True + {% if env == 'staging' %} SECRET_KEY = '{{ mbs_stg_secret_key }}' SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_stg_db_password}}@db-mbs/mbs' - REBUILD_STRATEGY_ALLOW_OVERRIDE = True {% else %} SECRET_KEY = '{{ mbs_prod_secret_key }}' SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_prod_db_password}}@db-mbs/mbs'