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
f3351b2a
Commit
f3351b2a
authored
8 years ago
by
Edward Zarecor
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3595 from edx/e0d/mongo-smallfiles
Basic support for smallfiles
parents
0a9a7e7c
a3975c4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
playbooks/roles/mongo_2_6/defaults/main.yml
+2
-0
playbooks/roles/mongo_2_6/templates/mongodb.conf.j2
+4
-0
No files found.
playbooks/roles/mongo_2_6/defaults/main.yml
View file @
f3351b2a
...
@@ -32,6 +32,8 @@ MONGO_USERS:
...
@@ -32,6 +32,8 @@ MONGO_USERS:
MONGO_CLUSTERED
:
false
MONGO_CLUSTERED
:
false
MONGO_BIND_IP
:
127.0.0.1
MONGO_BIND_IP
:
127.0.0.1
MONGO_USE_SMALLFILES
:
true
##
##
mongo_logpath
:
"
{{
mongo_log_dir
}}/mongodb.log"
mongo_logpath
:
"
{{
mongo_log_dir
}}/mongodb.log"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/mongo_2_6/templates/mongodb.conf.j2
View file @
f3351b2a
...
@@ -16,6 +16,10 @@ logappend={{ mongo_logappend }}
...
@@ -16,6 +16,10 @@ logappend={{ mongo_logappend }}
bind_ip = {{ MONGO_BIND_IP }}
bind_ip = {{ MONGO_BIND_IP }}
{% endif %}
{% endif %}
{% if MONGO_USE_SMALLFILES %}
smallfiles = true
{% endif %}
port = {{ mongo_port }}
port = {{ mongo_port }}
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
...
...
This diff is collapsed.
Click to expand it.
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