We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5caa29 + ede0d25 commit 2c5a3abCopy full SHA for 2c5a3ab
templates/mongod_init.conf.j2
@@ -31,6 +31,14 @@ storage:
31
enforced: {{ mongodb_storage_quota_enforced | to_nice_json }}
32
maxFilesPerDB: {{ mongodb_storage_quota_maxfiles }}
33
smallFiles: {{ mongodb_storage_smallfiles | to_nice_json }}
34
+ {% endif -%}
35
+ {% if mongodb_storage_engine == 'wiredTiger' -%}
36
+ wiredTiger:
37
+ engineConfig:
38
+ {% if mongodb_wiredtiger_cache_size is defined -%}
39
+ cacheSizeGB: {{ mongodb_wiredtiger_cache_size }}
40
41
+ directoryForIndexes: {{ mongodb_wiredtiger_directory_for_indexes | to_nice_json }}
42
{% endif %}
43
44
systemLog:
0 commit comments