Skip to content

Commit dba6278

Browse files
author
Patrick Dreker
committed
add "to_nice_json" to avoid Capitalized booleans
1 parent 4d91416 commit dba6278

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/mongod.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ security:
3838

3939
storage:
4040
dbPath: {{ mongodb_storage_dbpath }}
41-
directoryPerDB: {{ mongodb_storage_dirperdb }}
41+
directoryPerDB: {{ mongodb_storage_dirperdb | to_nice_json }}
4242
{% if mongodb_major_version | version_compare("3.0", ">=") -%}
4343
engine: {{ mongodb_storage_engine }}
4444
{% endif -%}

templates/mongod_init.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ security:
2121

2222
storage:
2323
dbPath: {{ mongodb_storage_dbpath }}
24-
directoryPerDB: {{ mongodb_storage_dirperdb }}
24+
directoryPerDB: {{ mongodb_storage_dirperdb | to_nice_json }}
2525
{% if mongodb_major_version | version_compare("3.0", ">=") -%}
2626
engine: {{ mongodb_storage_engine }}
2727
{% endif -%}

0 commit comments

Comments
 (0)