fix mongodb version specific template

This commit is contained in:
Robert Kaussow 2018-07-08 19:40:48 +02:00
parent 3b74cd9fcf
commit f4391bc3d8
2 changed files with 4 additions and 0 deletions

View File

@ -20,7 +20,9 @@ storage:
processManagement:
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
pidFilePath: /var/run/mongodb/mongod.pid
{% if mongodb_version is version_compare("3.6", ">=") -%}
timeZoneInfo: /usr/share/zoneinfo
{% endif -%}
# network interfaces
net:

View File

@ -20,7 +20,9 @@ storage:
processManagement:
fork: {{ mongodb_processmanagement_fork_enabled | lower }}
pidFilePath: /var/run/mongodb/mongod.pid
{% if mongodb_version is version_compare("3.6", ">=") -%}
timeZoneInfo: /usr/share/zoneinfo
{% endif -%}
# network interfaces
net: