Commit 703293f7 by John Jarvis

adding enabled features to aws.py

parent 4aab04e4
...@@ -32,11 +32,15 @@ LOG_DIR = ENV_TOKENS['LOG_DIR'] ...@@ -32,11 +32,15 @@ LOG_DIR = ENV_TOKENS['LOG_DIR']
CACHES = ENV_TOKENS['CACHES'] CACHES = ENV_TOKENS['CACHES']
for feature in ENV_TOKEN['ENABLED_FEATURE']:
MITX_FEATURES[feature] = True
LOGGING = get_logger_config(LOG_DIR, LOGGING = get_logger_config(LOG_DIR,
logging_env=ENV_TOKENS['LOGGING_ENV'], logging_env=ENV_TOKENS['LOGGING_ENV'],
syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514), syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514),
debug=False) debug=False)
############################## SECURE AUTH ITEMS ############################### ############################## SECURE AUTH ITEMS ###############################
# Secret things: passwords, access keys, etc. # Secret things: passwords, access keys, etc.
with open(ENV_ROOT / "auth.json") as auth_file: with open(ENV_ROOT / "auth.json") as auth_file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment