Commit f0fb6b02 by Feanil Patel

Un-capitalize a var that is meant to be internal.

Also update the git repo to point to the public version of notifier.
parent b6f7c4cf
...@@ -5,7 +5,7 @@ NOTIFIER_WEB_USER: "www-user" ...@@ -5,7 +5,7 @@ NOTIFIER_WEB_USER: "www-user"
NOTIFIER_HOME: "/opt/wwc/notifier" NOTIFIER_HOME: "/opt/wwc/notifier"
NOTIFIER_VENV_DIR: "{{ NOTIFIER_HOME }}/virtualenvs/notifier" NOTIFIER_VENV_DIR: "{{ NOTIFIER_HOME }}/virtualenvs/notifier"
NOTIFIER_DB_DIR: "{{ NOTIFIER_HOME }}/db" NOTIFIER_DB_DIR: "{{ NOTIFIER_HOME }}/db"
NOTIFIER_SOURCE_REPO: "git@github.com:edx/notifier.git" NOTIFIER_SOURCE_REPO: "https://github.com/edx/notifier.git"
NOTIFIER_CODE_DIR: "{{ NOTIFIER_HOME }}/src" NOTIFIER_CODE_DIR: "{{ NOTIFIER_HOME }}/src"
NOTIFIER_VERSION: "master" NOTIFIER_VERSION: "master"
NOTIFIER_GIT_IDENTITY_PATH: "{{ secure_dir }}/files/git-identity" NOTIFIER_GIT_IDENTITY_PATH: "{{ secure_dir }}/files/git-identity"
......
...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB ...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10 stderr_logfile_backups=10
stderr_capture_maxbytes=1MB stderr_capture_maxbytes=1MB
environment=PID='/var/tmp/notifier-scheduler.pid',LANG=en_US.UTF-8, environment=PID='/var/tmp/notifier-scheduler.pid',LANG=en_US.UTF-8,
{%- for name,value in NOTIFIER_ENV_VARS.items() -%} {%- for name,value in notifier_env_vars.items() -%}
{{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%} {{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%}
{%- endfor -%} {%- endfor -%}
...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB ...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10 stderr_logfile_backups=10
stderr_capture_maxbytes=1MB stderr_capture_maxbytes=1MB
environment=PID='/var/tmp/notifier-celery-workers.pid',LANG=en_US.UTF-8, environment=PID='/var/tmp/notifier-celery-workers.pid',LANG=en_US.UTF-8,
{%- for name,value in NOTIFIER_ENV_VARS.items() -%} {%- for name,value in notifier_env_vars.items() -%}
{{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%} {{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%}
{%- endfor -%} {%- endfor -%}
...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB ...@@ -27,6 +27,6 @@ stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10 stderr_logfile_backups=10
stderr_capture_maxbytes=1MB stderr_capture_maxbytes=1MB
environment=PID='/var/tmp/notifier-scheduler.pid',LANG=en_US.UTF-8, environment=PID='/var/tmp/notifier-scheduler.pid',LANG=en_US.UTF-8,
{%- for name,value in NOTIFIER_ENV_VARS.items() -%} {%- for name,value in notifier_env_vars.items() -%}
{{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%} {{name}}="{{value}}"{%- if not loop.last -%},{%- endif -%}
{%- endfor -%} {%- endfor -%}
# {{ ansible_managed }} # {{ ansible_managed }}
{% for name,value in NOTIFIER_ENV_VARS.items() %} {% for name,value in notifier_env_vars.items() %}
{% if value %} {% if value %}
export {{ name }}="{{ value }}" export {{ name }}="{{ value }}"
{% endif %} {% endif %}
......
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