Commit d07d4776 by John Jarvis

fixing some var bugs

parent a5b72ae8
...@@ -2,14 +2,16 @@ ...@@ -2,14 +2,16 @@
# when the role is included # when the role is included
--- ---
# These are default values for the env and auth # These are variables that default to a localhost
# configuration files. There should be no # setup and are meant to be overwritten for
# host identifying or sensitive information and # different environments.
# the defaults should be appropriate for running #
# all roles on a single instance # Variables in all caps are environment specific
# Lowercase variables are internal to the role
# These are custom variables that can be overridden #
# on the command line to change specific values in the hash # Defaults specified here should not contain
# any secrets or host identifying information.
EDXAPP_LMS_BASE: '' EDXAPP_LMS_BASE: ''
EDXAPP_PREVIEW_LMS_BASE: '' EDXAPP_PREVIEW_LMS_BASE: ''
EDXAPP_CMS_BASE: '' EDXAPP_CMS_BASE: ''
...@@ -20,10 +22,11 @@ EDXAPP_XQUEUE_DJANGO_AUTH: ...@@ -20,10 +22,11 @@ EDXAPP_XQUEUE_DJANGO_AUTH:
username: 'lms' username: 'lms'
password: 'password' password: 'password'
EDXAPP_MONGO_HOST: ['localhost'] EDXAPP_MONGO_HOSTS: ['localhost']
EDXAPP_MONGO_PASSWORD: 'password' EDXAPP_MONGO_PASSWORD: 'password'
EDXAPP_MONGO_PORT: 27017 EDXAPP_MONGO_PORT: 27017
EDXAPP_MONGO_USER: 'mongo' EDXAPP_MONGO_USER: 'mongo'
EDXAPP_MONGO_DB_NAME: 'edxapp'
EDXAPP_MYSQL_DB_NAME: 'edxapp' EDXAPP_MYSQL_DB_NAME: 'edxapp'
EDXAPP_MYSQL_USER: 'root' EDXAPP_MYSQL_USER: 'root'
...@@ -75,6 +78,9 @@ EDXAPP_SYSLOG_SERVER: '' ...@@ -75,6 +78,9 @@ EDXAPP_SYSLOG_SERVER: ''
EDXAPP_RABBIT_HOSTNAME: 'rabbit.{{ENV_NAME}}.vpc.edx.org' EDXAPP_RABBIT_HOSTNAME: 'rabbit.{{ENV_NAME}}.vpc.edx.org'
EDXAPP_XML_MAPPINGS: {} EDXAPP_XML_MAPPINGS: {}
#-------- Everything below this line is internal to the role ------------
#Use YAML references (& and *) and hash merge <<: to factor out shared settings #Use YAML references (& and *) and hash merge <<: to factor out shared settings
#see http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/ #see http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/
edxapp_generic_auth_config: &edxapp_generic_auth edxapp_generic_auth_config: &edxapp_generic_auth
...@@ -196,12 +202,12 @@ lms_auth_config: ...@@ -196,12 +202,12 @@ lms_auth_config:
OPTIONS: OPTIONS:
default_class: 'xmodule.hidden_module.HiddenDescriptor' default_class: 'xmodule.hidden_module.HiddenDescriptor'
host: $EDXAPP_MONGO_HOSTS host: $EDXAPP_MONGO_HOSTS
db: $EDXAPP_MONGO_DB_NAME db: $EDXAPP_MONGO_DB_NAME
collection: 'modulestore' collection: 'modulestore'
render_template: 'mitxmako.shortcuts.render_to_string' render_template: 'mitxmako.shortcuts.render_to_string'
user: $EDXAPP_MONGO_USER user: $EDXAPP_MONGO_USER
password: $EDXAPP_MONGO_PASSWORD password: $EDXAPP_MONGO_PASSWORD
port: 10016 port: $EDXAPP_MONGO_PORT
fs_root: '/opt/wwc/data' fs_root: '/opt/wwc/data'
ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore' ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore'
......
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