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
OpenEdx
configuration
Commits
0f712ab1
Commit
0f712ab1
authored
Sep 11, 2015
by
Kevin Falcone
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2278 from edx/jibsheet/allow-extra-engine-configuration
Allow adding in of storage specific configuration
parents
fd3c693c
09845ad3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
playbooks/roles/mongo_3_0/defaults/main.yml
+4
-0
playbooks/roles/mongo_3_0/templates/mongodb-clustered.conf.j2
+3
-0
playbooks/roles/mongo_3_0/templates/mongodb-standalone.conf.j2
+3
-0
No files found.
playbooks/roles/mongo_3_0/defaults/main.yml
View file @
0f712ab1
...
@@ -48,6 +48,10 @@ MONGO_BIND_IP: 127.0.0.1
...
@@ -48,6 +48,10 @@ MONGO_BIND_IP: 127.0.0.1
MONGO_STORAGE_ENGINE
:
"
mmapv1"
MONGO_STORAGE_ENGINE
:
"
mmapv1"
##
##
# WiredTiger takes a number of optional configuration settings
# which can be defined as a yaml structure in your secure configuration.
MONGO_STORAGE_ENGINE_OPTIONS
:
!!null
mongo_logpath
:
"
{{
mongo_log_dir
}}/mongodb.log"
mongo_logpath
:
"
{{
mongo_log_dir
}}/mongodb.log"
mongo_dbpath
:
"
{{
mongo_data_dir
}}/mongodb"
mongo_dbpath
:
"
{{
mongo_data_dir
}}/mongodb"
...
...
playbooks/roles/mongo_3_0/templates/mongodb-clustered.conf.j2
View file @
0f712ab1
...
@@ -14,6 +14,9 @@ storage:
...
@@ -14,6 +14,9 @@ storage:
{% else %}
{% else %}
enabled: false
enabled: false
{% endif %}
{% endif %}
{% if MONGO_STORAGE_ENGINE_OPTIONS %}
{{ MONGO_STORAGE_ENGINE_OPTIONS | to_nice_yaml }}
{% endif %}
systemLog:
systemLog:
#where to log
#where to log
...
...
playbooks/roles/mongo_3_0/templates/mongodb-standalone.conf.j2
View file @
0f712ab1
...
@@ -14,6 +14,9 @@ storage:
...
@@ -14,6 +14,9 @@ storage:
{% else %}
{% else %}
enabled: false
enabled: false
{% endif %}
{% endif %}
{% if MONGO_STORAGE_ENGINE_OPTIONS %}
{{ MONGO_STORAGE_ENGINE_OPTIONS | to_nice_yaml }}
{% endif %}
systemLog:
systemLog:
#where to log
#where to log
...
...
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