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