@@ -34,7 +34,8 @@ security:
34
34
authorization: {{ mongodb_security_authorization }}
35
35
{% if mongodb_replication_replset and mongodb_security_authorization == 'enabled' -%}
36
36
keyFile: {{ mongodb_security_keyfile }}
37
- {% endif %}
37
+ {% endif -%}
38
+ javascriptEnabled: {{ mongodb_security_javascript_enabled | to_nice_json }}
38
39
39
40
storage:
40
41
dbPath: {{ mongodb_storage_dbpath }}
@@ -50,13 +51,15 @@ storage:
50
51
enforced: {{ mongodb_storage_quota_enforced | to_nice_json }}
51
52
maxFilesPerDB: {{ mongodb_storage_quota_maxfiles }}
52
53
smallFiles: {{ mongodb_storage_smallfiles | to_nice_json }}
53
- {% endif %}
54
-
55
- {% if mongodb_wiredtiger_cache_size is defined %}
54
+ {% endif -%}
55
+ {% if mongodb_storage_engine == 'wiredTiger' -%}
56
56
wiredTiger:
57
57
engineConfig:
58
+ {% if mongodb_wiredtiger_cache_size is defined -%}
58
59
cacheSizeGB: {{ mongodb_wiredtiger_cache_size }}
59
- {% endif %}
60
+ {% endif -%}
61
+ directoryForIndexes: {{ mongodb_wiredtiger_directory_for_indexes | to_nice_json }}
62
+ {% endif %}
60
63
61
64
systemLog:
62
65
destination: {{ mongodb_systemlog_destination }}
@@ -66,6 +69,10 @@ systemLog:
66
69
path: {{ mongodb_systemlog_path }}
67
70
{% endif %}
68
71
72
+ operationProfiling:
73
+ slowOpThresholdMs: {{ mongodb_operation_profiling_slow_op_threshold_ms }}
74
+ mode: {{ mongodb_operation_profiling_mode }}
75
+
69
76
{% if mongodb_set_parameters -%}
70
77
setParameter:
71
78
{% for key , value in mongodb_set_parameters .items () -%}
0 commit comments