Merge pull request #12 from ftao/patch-1
don't set quotaFiles if mongodb_conf_quota is false
This commit is contained in:
commit
5c920a730c
|
@ -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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue