Skip to content

Commit c4b3764

Browse files
authored
Supports setParameter configuration
1 parent 54a2e1e commit c4b3764

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/mongod.conf.j2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,10 @@ systemLog:
5555
destination: {{ mongodb_systemlog_destination }}
5656
logAppend: {{ mongodb_systemlog_logappend | to_nice_json }}
5757
path: {{ mongodb_systemlog_path }}
58+
59+
{% if mongodb_set_parameters -%}
60+
setParameter:
61+
{% for key, value in mongodb_set_parameters.items() -%}
62+
{{ key }}: {{ value }}
63+
{% endfor -%}
64+
{% endif %}

0 commit comments

Comments
 (0)