Merge pull request #44 from davidcaste/davidcaste-replicaset-without-authentication

Fix replicaset config without authentication
This commit is contained in:
Sergei Antipov 2015-12-16 14:25:30 +05:00
commit 4d8927f5d6
1 changed files with 2 additions and 0 deletions

View File

@ -27,5 +27,7 @@ smallfiles = {{ mongodb_conf_smallfiles|to_nice_json }}
replSet = {{ mongodb_conf_replSet }}
replIndexPrefetch = {{ mongodb_conf_replIndexPrefetch }}
oplogSize = {{ mongodb_conf_oplogSize }}
{% endif %}
{% if mongodb_conf_replSet and mongodb_conf_auth %}
keyFile = {{ mongodb_conf_keyFile }}
{% endif %}