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 c996d6e + 4b2899b commit 4d8927fCopy full SHA for 4d8927f
templates/mongod.conf.j2
@@ -27,5 +27,7 @@ smallfiles = {{ mongodb_conf_smallfiles|to_nice_json }}
27
replSet = {{ mongodb_conf_replSet }}
28
replIndexPrefetch = {{ mongodb_conf_replIndexPrefetch }}
29
oplogSize = {{ mongodb_conf_oplogSize }}
30
+{% endif %}
31
+{% if mongodb_conf_replSet and mongodb_conf_auth %}
32
keyFile = {{ mongodb_conf_keyFile }}
33
{% endif %}
0 commit comments