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
33040d2e
Unverified
Commit
33040d2e
authored
Mar 20, 2018
by
Cory Lee
Committed by
GitHub
Mar 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing adhoc reporting for forums' mongo (#4401)
parent
955cbedb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
playbooks/roles/ad_hoc_reporting/tasks/main.yml
+1
-1
playbooks/roles/ad_hoc_reporting/templates/edx/bin/mongo.sh.j2
+1
-1
No files found.
playbooks/roles/ad_hoc_reporting/tasks/main.yml
View file @
33040d2e
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
db_name
:
"
{{
EDXAPP_MONGO_DB_NAME
}}"
db_name
:
"
{{
EDXAPP_MONGO_DB_NAME
}}"
db_port
:
"
{{
EDXAPP_MONGO_PORT
}}"
db_port
:
"
{{
EDXAPP_MONGO_PORT
}}"
script_name
:
edxapp-mongo.sh
script_name
:
edxapp-mongo.sh
-
db_hosts
:
"
{{
FORUM_MONGO_HOSTS
}}"
-
db_hosts
:
"
{{
FORUM_MONGO_HOSTS
_FOR_AD_HOC_REPORTING
}}"
db_name
:
"
{{
FORUM_MONGO_DATABASE
}}"
db_name
:
"
{{
FORUM_MONGO_DATABASE
}}"
db_port
:
"
{{
FORUM_MONGO_PORT
}}"
db_port
:
"
{{
FORUM_MONGO_PORT
}}"
script_name
:
forum-mongo.sh
script_name
:
forum-mongo.sh
...
...
playbooks/roles/ad_hoc_reporting/templates/edx/bin/mongo.sh.j2
View file @
33040d2e
#!/usr/bin/env bash
#!/usr/bin/env bash
db_hosts
={{
","
.join
(
item.db_hosts
)
}}
db_hosts
={{
item.db_hosts
}}
from_port
={{
item.db_port
}}
from_port
={{
item.db_port
}}
for
host
in
${
db_hosts
//,/
}
;
do
for
host
in
${
db_hosts
//,/
}
;
do
...
...
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