fix mongodb version specific template
This commit is contained in:
parent
3b74cd9fcf
commit
f4391bc3d8
@ -20,7 +20,9 @@ storage:
|
|||||||
processManagement:
|
processManagement:
|
||||||
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
|
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
|
||||||
pidFilePath: /var/run/mongodb/mongod.pid
|
pidFilePath: /var/run/mongodb/mongod.pid
|
||||||
|
{% if mongodb_version is version_compare("3.6", ">=") -%}
|
||||||
timeZoneInfo: /usr/share/zoneinfo
|
timeZoneInfo: /usr/share/zoneinfo
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
# network interfaces
|
# network interfaces
|
||||||
net:
|
net:
|
||||||
|
@ -20,7 +20,9 @@ storage:
|
|||||||
processManagement:
|
processManagement:
|
||||||
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
|
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
|
||||||
pidFilePath: /var/run/mongodb/mongod.pid
|
pidFilePath: /var/run/mongodb/mongod.pid
|
||||||
|
{% if mongodb_version is version_compare("3.6", ">=") -%}
|
||||||
timeZoneInfo: /usr/share/zoneinfo
|
timeZoneInfo: /usr/share/zoneinfo
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
# network interfaces
|
# network interfaces
|
||||||
net:
|
net:
|
||||||
|
Loading…
Reference in New Issue
Block a user