Merge pull request #12 from ftao/patch-1

don't set  quotaFiles  if mongodb_conf_quota is false
This commit is contained in:
Sergei Antipov 2015-04-03 14:44:41 +05:00
commit 5c920a730c
1 changed files with 2 additions and 0 deletions

View File

@ -16,7 +16,9 @@ noscripting = {{ mongodb_conf_noscripting|to_nice_json }}
notablescan = {{ mongodb_conf_notablescan|to_nice_json }} notablescan = {{ mongodb_conf_notablescan|to_nice_json }}
port = {{ mongodb_conf_port }} port = {{ mongodb_conf_port }}
quota = {{ mongodb_conf_quota|to_nice_json }} quota = {{ mongodb_conf_quota|to_nice_json }}
{% if mongodb_conf_quota %}
quotaFiles = {{ mongodb_conf_quotaFiles }} quotaFiles = {{ mongodb_conf_quotaFiles }}
{% endif %}
syslog = {{ mongodb_conf_syslog|to_nice_json }} syslog = {{ mongodb_conf_syslog|to_nice_json }}
smallfiles = {{ mongodb_conf_smallfiles|to_nice_json }} smallfiles = {{ mongodb_conf_smallfiles|to_nice_json }}