Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
e586b461
Commit
e586b461
authored
Aug 02, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new vars.
parent
2f8496a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
playbooks/roles/notifier/templates/notifier.conf.j2
+1
-0
playbooks/roles/notifier/templates/notifier_env.j2
+7
-2
playbooks/roles/notifier/vars/main.yml
+6
-3
No files found.
playbooks/roles/notifier/templates/notifier.conf.j2
View file @
e586b461
...
...
@@ -2,6 +2,7 @@ description "Notifier Service"
start on runlevel [2345]
stop on runlevel [!2345]
setuid {{ notifier_web_user }}
env PID=/var/tmp/notifier_service.pid
...
...
playbooks/roles/notifier/templates/notifier_env.j2
View file @
e586b461
...
...
@@ -2,6 +2,7 @@
export NOTIFIER_ENV="{{ notifier_env }}"
# email settings independent of transport
export EMAIL_BACKEND="{{ notifier_email_backend }}"
export EMAIL_HOST="{{ notifier_email_host }}"
export EMAIL_PORT="{{ notifer_email_port }}"
export EMAIL_HOST_USER="{{ notifer_email_user }}"
...
...
@@ -11,6 +12,7 @@ export EMAIL_REWRITE_RECIPIENT="{{ notifer_email_rewrite_recipient }}"
# LMS links, images, etc
export LMS_URL_BASE="{{ notifier_lms_url_base }}"
export SECRET_KEY="{{ notifier_lms_secret_key }}"
# Comments Service Endpoint, for digest pulls
export CS_URL_BASE="{{ notifier_comment_service_base }}"
...
...
@@ -24,4 +26,8 @@ export US_API_KEY="{{ notifier_user_service_api_key }}"
export BROKER_URL="{{ notifier_celery_broker_url }}"
# have requests use the OS ca certs
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
\ No newline at end of file
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# basic auth credentils
export US_HTTP_AUTH_USER="{{ notifier_user_service_http_auth_user }}"
export US_HTTP_AUTH_PASS="{{ notifier_user_service_http_auth_pass }}"
playbooks/roles/notifier/vars/main.yml
View file @
e586b461
---
notifier_user
:
"
notifier"
notifier_web_user
:
"
www-user"
notifier_home
:
"
/opt/wwc/notifier"
notifier_venv_dir
:
"
{{
notifier_home
}}/virtualenvs/notifier"
notifier_source_repo
:
"
git@github.com:edx/notifier.git"
notifier_code_dir
:
"
{{
notifier_home
}}/src"
notifier_version
:
"
preintegration
"
notifier_version
:
"
rc/digests
"
notifier_git_identity_path
:
"
{{
secure_dir
}}/files/git-identity"
notifier_requirements_file
:
"
{{
notifier_code_dir
}}/requirements.txt"
notifier_env
:
"
Development"
notifier_email_backend
:
"
console"
notifier_email_host
:
"
localhost"
notifier_email_port
:
25
notifier_email_user
:
"
"
...
...
@@ -22,16 +24,17 @@ notifier_email_domain: "notifications.edx.org"
notifier_email_rewrite_recipient
:
"
"
notifier_lms_url_base
:
"
http://localhost:8000"
notifier_lms_secret_key
:
"
PUT_YOUR_SECRET_KEY_HERE"
notifier_comment_service_base
:
"
http://localhost:4567"
2notifier_comment_service_api_key
:
"
PUT_YOUR_API_KEY_HERE"
notifier_user_service_base
:
"
http://localhost:8000"
notifier_user_service_api_key
:
"
PUT_YOUR_API_KEY_HERE"
notifier_user_service_http_auth_user
:
"
guido"
notifier_user_service_http_auth_pass
:
"
vanrossum"
notifier_celery_broker_url
:
"
django://"
notifier_debian_pkgs
:
-
apparmor-utils
-
build-essential
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment