Fix init template.

This commit is contained in:
Mikhail Konyakhin 2019-06-05 14:25:32 +03:00
parent e5caa291b5
commit ede0d25175
1 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,14 @@ storage:
enforced: {{ mongodb_storage_quota_enforced | to_nice_json }} enforced: {{ mongodb_storage_quota_enforced | to_nice_json }}
maxFilesPerDB: {{ mongodb_storage_quota_maxfiles }} maxFilesPerDB: {{ mongodb_storage_quota_maxfiles }}
smallFiles: {{ mongodb_storage_smallfiles | to_nice_json }} smallFiles: {{ mongodb_storage_smallfiles | to_nice_json }}
{% endif -%}
{% if mongodb_storage_engine == 'wiredTiger' -%}
wiredTiger:
engineConfig:
{% if mongodb_wiredtiger_cache_size is defined -%}
cacheSizeGB: {{ mongodb_wiredtiger_cache_size }}
{% endif -%}
directoryForIndexes: {{ mongodb_wiredtiger_directory_for_indexes | to_nice_json }}
{% endif %} {% endif %}
systemLog: systemLog: