From c818b8ac0529df29cf12f59461c1ae14c872473e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 13 Oct 2021 16:56:14 +0200 Subject: [PATCH] Fix the path to the keyfile. --- templates/mongod-3.0.conf.j2 | 2 +- templates/mongod-3.2.conf.j2 | 2 +- templates/mongod-3.6.3.conf.j2 | 2 +- templates/mongod-3.6.conf.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/mongod-3.0.conf.j2 b/templates/mongod-3.0.conf.j2 index 8b2ac20..d3e9fd4 100644 --- a/templates/mongod-3.0.conf.j2 +++ b/templates/mongod-3.0.conf.j2 @@ -43,7 +43,7 @@ net: {%if mongodb_cluster_enabled %} security: - keyFile: /data/mongo_home/dev-d4science-keyfile + keyFile: {{ mongodb_replica_keyfile }} replication: oplogSizeMB: 2000 diff --git a/templates/mongod-3.2.conf.j2 b/templates/mongod-3.2.conf.j2 index 8b2ac20..d3e9fd4 100644 --- a/templates/mongod-3.2.conf.j2 +++ b/templates/mongod-3.2.conf.j2 @@ -43,7 +43,7 @@ net: {%if mongodb_cluster_enabled %} security: - keyFile: /data/mongo_home/dev-d4science-keyfile + keyFile: {{ mongodb_replica_keyfile }} replication: oplogSizeMB: 2000 diff --git a/templates/mongod-3.6.3.conf.j2 b/templates/mongod-3.6.3.conf.j2 index 40dd3fe..68158cb 100644 --- a/templates/mongod-3.6.3.conf.j2 +++ b/templates/mongod-3.6.3.conf.j2 @@ -41,7 +41,7 @@ net: {%if mongodb_cluster_enabled %} security: - keyFile: /data/mongo_home/dev-d4science-keyfile + keyFile: {{ mongodb_replica_keyfile }} replication: oplogSizeMB: 2000 diff --git a/templates/mongod-3.6.conf.j2 b/templates/mongod-3.6.conf.j2 index 40dd3fe..68158cb 100644 --- a/templates/mongod-3.6.conf.j2 +++ b/templates/mongod-3.6.conf.j2 @@ -41,7 +41,7 @@ net: {%if mongodb_cluster_enabled %} security: - keyFile: /data/mongo_home/dev-d4science-keyfile + keyFile: {{ mongodb_replica_keyfile }} replication: oplogSizeMB: 2000